OpendTect  6.6
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes | List of all members
Survey::Geometry Class Referenceabstract

A Geometry which holds trace positions. More...

Inheritance diagram for Survey::Geometry:
[legend]

Public Types

typedef Pos::GeomID ID
 
enum  RelationType {
  UnRelated =0 , Related , SubSet , SuperSet ,
  Identical
}
 

Public Member Functions

virtual Geometry2Das2D ()
 
const Geometry2Das2D () const
 
virtual Geometry3Das3D ()
 
const Geometry3Das3D () const
 
virtual float averageTrcDist () const =0
 
virtual RelationType compare (const Geometry &, bool usezrg) const
 
ID getID () const
 
virtual const char * getName () const =0
 
Pos::SurvID getSurvID () const
 
virtual TrcKey getTrace (const Coord &, float maxdist) const
 
bool includes (const BinID &b) const
 
bool includes (const TrcKey &) const
 
virtual bool includes (Pos::LineID, Pos::TraceID) const =0
 
virtual bool is2D () const =0
 
virtual TrcKey nearestTrace (const Coord &, float *distance=nullptr) const =0
 
const TrcKeyZSamplingsampling () const
 
void setID (ID id)
 
Coord toCoord (const BinID &b) const
 
virtual Coord toCoord (Pos::LineID, Pos::TraceID) const =0
 

Static Public Member Functions

static const Geometrydefault3D ()
 
static bool exists (const TrcKey &)
 
static Coord toCoord (const TrcKey &)
 

Protected Member Functions

 Geometry ()
 

Protected Attributes

TrcKeyZSampling sampling_
 

Private Attributes

ID id_
 

Detailed Description

A Geometry which holds trace positions.

For 3D, a geometry is an Inl/Crl System. For 2D, each line has its own Geometry.

Beware, the Geometry::ID != Survkey::ID for 2D geometries. The Geometry::ID will end up in the lineNr() of the TrcKey.

<>

Member Typedef Documentation

◆ ID

Member Enumeration Documentation

◆ RelationType

Enumerator
UnRelated 
Related 
SubSet 
SuperSet 
Identical 

Constructor & Destructor Documentation

◆ Geometry()

Survey::Geometry::Geometry ( )
protected

Member Function Documentation

◆ as2D() [1/2]

virtual Geometry2D* Survey::Geometry::as2D ( )
inlinevirtual

Reimplemented in Survey::Geometry2D.

◆ as2D() [2/2]

const Geometry2D* Survey::Geometry::as2D ( ) const

◆ as3D() [1/2]

virtual Geometry3D* Survey::Geometry::as3D ( )
inlinevirtual

Reimplemented in Survey::Geometry3D.

◆ as3D() [2/2]

const Geometry3D* Survey::Geometry::as3D ( ) const

◆ averageTrcDist()

virtual float Survey::Geometry::averageTrcDist ( ) const
pure virtual

Implemented in Survey::Geometry3D, and Survey::Geometry2D.

◆ compare()

virtual RelationType Survey::Geometry::compare ( const Geometry ,
bool  usezrg 
) const
inlinevirtual

Reimplemented in Survey::Geometry3D, and Survey::Geometry2D.

◆ default3D()

static const Geometry& Survey::Geometry::default3D ( )
static

◆ exists()

static bool Survey::Geometry::exists ( const TrcKey )
static

◆ getID()

ID Survey::Geometry::getID ( ) const
inline

◆ getName()

virtual const char* Survey::Geometry::getName ( ) const
pure virtual

Implemented in Survey::Geometry3D, and Survey::Geometry2D.

◆ getSurvID()

Pos::SurvID Survey::Geometry::getSurvID ( ) const

◆ getTrace()

virtual TrcKey Survey::Geometry::getTrace ( const Coord ,
float  maxdist 
) const
virtual

◆ includes() [1/3]

bool Survey::Geometry::includes ( const BinID b) const
inline

◆ includes() [2/3]

bool Survey::Geometry::includes ( const TrcKey ) const

◆ includes() [3/3]

virtual bool Survey::Geometry::includes ( Pos::LineID  ,
Pos::TraceID   
) const
pure virtual

◆ is2D()

virtual bool Survey::Geometry::is2D ( ) const
pure virtual

Implemented in Survey::Geometry3D, and Survey::Geometry2D.

◆ nearestTrace()

virtual TrcKey Survey::Geometry::nearestTrace ( const Coord ,
float *  distance = nullptr 
) const
pure virtual

Implemented in Survey::Geometry3D, and Survey::Geometry2D.

◆ sampling()

const TrcKeyZSampling& Survey::Geometry::sampling ( ) const
inline

◆ setID()

void Survey::Geometry::setID ( ID  id)
inline

◆ toCoord() [1/3]

Coord Survey::Geometry::toCoord ( const BinID b) const
inline

◆ toCoord() [2/3]

static Coord Survey::Geometry::toCoord ( const TrcKey )
static

◆ toCoord() [3/3]

virtual Coord Survey::Geometry::toCoord ( Pos::LineID  ,
Pos::TraceID   
) const
pure virtual

Member Data Documentation

◆ id_

ID Survey::Geometry::id_
private

◆ sampling_

TrcKeyZSampling Survey::Geometry::sampling_
protected

Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022