![]() |
OpendTect
7.0
|
Geometry of a 2D Line. More...
Public Member Functions | |
| Geometry2D (const char *lnm) | |
| Geometry2D (PosInfo::Line2DData *) | |
| Line2DData becomes mine. More... | |
| void | add (const Coord &, int trcnr, float spnr) |
| void | add (double x, double y, int trcnr, float spnr) |
| Geometry2D * | as2D () override |
| float | averageTrcDist () const override |
| RelationType | compare (const Geometry &, bool usezrg) const override |
| const PosInfo::Line2DData & | data () const |
| PosInfo::Line2DData & | dataAdmin () |
| If data is changed, call touch afterwards. More... | |
| const char * | getName () const override |
| bool | getPosByCoord (const Coord &, int &trc, float &sp) const |
| bool | getPosBySPNr (float spnr, Coord &, int &trcnr) const |
| bool | getPosByTrcNr (int trcnr, Coord &, float &spnr) const |
| void | getXYRange (Interval< double > &xrg, Interval< double > &yrg) const |
| bool | includes (int linenr, int tracenr) const override |
| bool | is2D () const override |
| bool | isEmpty () const |
| float | lineLength () const |
| TrcKey | nearestTrace (const Coord &, float *dist) const override |
| void | setAverageTrcDist (float) |
| void | setEmpty () |
| void | setLineLength (float) |
| int | size () const |
| TypeSet< float > & | spnrs () |
| const TypeSet< float > & | spnrs () const |
| Coord | toCoord (int linenr, int tracenr) const override |
| Coord | toCoord (int tracenr) const |
| void | touch () |
| StepInterval< float > | zRange () const |
Public Member Functions inherited from Survey::Geometry | |
| const Geometry2D * | as2D () const |
| virtual Geometry3D * | as3D () |
| const Geometry3D * | as3D () const |
| OD::GeomSystem | geomSystem () const |
| Pos::GeomID | getID () const |
| OD::GeomSystem | 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 |
| const TrcKeyZSampling & | sampling () const |
| void | setID (Pos::GeomID id) |
| Coord | toCoord (const BinID &b) const |
| virtual Coord | toCoord (Pos::LineID, Pos::TraceID) const =0 |
Public Member Functions inherited from RefCount::Referenced | |
| void | addObserver (WeakPtrBase *obs) |
| Not for normal use. May become private. More... | |
| int | nrRefs () const |
| Only for expert use. More... | |
| void | ref () const |
| bool | refIfReffed () const |
| Don't use in production, for debugging. More... | |
| void | removeObserver (WeakPtrBase *obs) |
| Not for normal use. May become private. More... | |
| bool | tryRef () const |
| Not for normal use. May become private. More... | |
| void | unRef () const |
| void | unRefNoDelete () const |
Static Public Member Functions | |
| static BufferString | makeUniqueLineName (const char *lsnm, const char *lnm) |
Static Public Member Functions inherited from Survey::Geometry | |
| static const Geometry & | default3D () |
| static bool | exists (const TrcKey &) |
| static Coord | toCoord (const TrcKey &) |
Static Public Member Functions inherited from RefCount::Referenced | |
| static bool | isSane (const Referenced *) |
Protected Member Functions | |
| ~Geometry2D () | |
Protected Member Functions inherited from Survey::Geometry | |
| Geometry () | |
| virtual | ~Geometry () |
Protected Member Functions inherited from RefCount::Referenced | |
| Referenced () | |
| Referenced (const Referenced &) | |
| virtual | ~Referenced () |
| Referenced & | operator= (const Referenced &) |
Protected Attributes | |
| PosInfo::Line2DData & | data_ |
| float | linelength_ |
| Threads::Lock | lock_ |
| TypeSet< float > | spnrs_ |
| float | trcdist_ |
Protected Attributes inherited from Survey::Geometry | |
| TrcKeyZSampling | sampling_ |
Additional Inherited Members | |
Public Types inherited from Survey::Geometry | |
| enum | RelationType { UnRelated =0 , Related , SubSet , SuperSet , Identical } |
Geometry of a 2D Line.
<>
| Survey::Geometry2D::Geometry2D | ( | const char * | lnm | ) |
| Survey::Geometry2D::Geometry2D | ( | PosInfo::Line2DData * | ) |
Line2DData becomes mine.
|
protected |
| void Survey::Geometry2D::add | ( | const Coord & | , |
| int | trcnr, | ||
| float | spnr | ||
| ) |
| void Survey::Geometry2D::add | ( | double | x, |
| double | y, | ||
| int | trcnr, | ||
| float | spnr | ||
| ) |
|
inlineoverridevirtual |
Reimplemented from Survey::Geometry.
|
overridevirtual |
Implements Survey::Geometry.
|
overridevirtual |
Reimplemented from Survey::Geometry.
|
inline |
|
inline |
If data is changed, call touch afterwards.
|
overridevirtual |
Implements Survey::Geometry.
| bool Survey::Geometry2D::getPosByCoord | ( | const Coord & | , |
| int & | trc, | ||
| float & | sp | ||
| ) | const |
| bool Survey::Geometry2D::getPosBySPNr | ( | float | spnr, |
| Coord & | , | ||
| int & | trcnr | ||
| ) | const |
| bool Survey::Geometry2D::getPosByTrcNr | ( | int | trcnr, |
| Coord & | , | ||
| float & | spnr | ||
| ) | const |
|
override |
|
inlineoverridevirtual |
Implements Survey::Geometry.
| bool Survey::Geometry2D::isEmpty | ( | ) | const |
| float Survey::Geometry2D::lineLength | ( | ) | const |
|
static |
Implements Survey::Geometry.
| void Survey::Geometry2D::setAverageTrcDist | ( | float | ) |
| void Survey::Geometry2D::setEmpty | ( | ) |
| void Survey::Geometry2D::setLineLength | ( | float | ) |
| int Survey::Geometry2D::size | ( | ) | const |
|
inline |
|
inline |
|
override |
| Coord Survey::Geometry2D::toCoord | ( | int | tracenr | ) | const |
| void Survey::Geometry2D::touch | ( | ) |
| StepInterval<float> Survey::Geometry2D::zRange | ( | ) | const |
|
protected |
|
mutableprotected |
|
mutableprotected |
|
protected |
|
mutableprotected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2024