Geometry of a 2D Line.
More...
|
| 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 () |
|
float | averageTrcDist () const |
|
RelationType | compare (const Geometry &, bool usezrg) const |
|
const PosInfo::Line2DData & | data () const |
|
PosInfo::Line2DData & | dataAdmin () |
| If data is changed, call touch afterwards. More...
|
|
virtual const char * | getName () const |
|
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 |
|
bool | hasValidSPNrs () const |
|
virtual bool | includes (int linenr, int tracenr) const |
|
virtual bool | is2D () const |
|
bool | isEmpty () const |
|
float | lineLength () const |
|
virtual TrcKey | nearestTrace (const Coord &, float *dist) const |
|
void | setAverageTrcDist (float) |
|
void | setEmpty () |
|
void | setLineLength (float) |
|
int | size () const |
|
TypeSet< float > & | spnrs () |
|
const TypeSet< float > & | spnrs () const |
|
virtual Coord | toCoord (int linenr, int tracenr) const |
|
Coord | toCoord (int tracenr) const |
|
void | touch () |
|
StepInterval< float > | zRange () const |
|
const Geometry2D * | as2D () const |
|
virtual Geometry3D * | as3D () |
|
const Geometry3D * | as3D () const |
|
ID | getID () const |
|
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 |
|
const TrcKeyZSampling & | sampling () const |
|
void | setID (ID id) |
|
Coord | toCoord (const BinID &b) const |
|
virtual Coord | toCoord (Pos::LineID, Pos::TraceID) const =0 |
|
Geometry of a 2D Line.
<>
◆ Geometry2D() [1/2]
Survey::Geometry2D::Geometry2D |
( |
const char * |
lnm | ) |
|
◆ Geometry2D() [2/2]
◆ ~Geometry2D()
Survey::Geometry2D::~Geometry2D |
( |
| ) |
|
|
protected |
◆ add() [1/2]
void Survey::Geometry2D::add |
( |
const Coord & |
, |
|
|
int |
trcnr, |
|
|
float |
spnr |
|
) |
| |
◆ add() [2/2]
void Survey::Geometry2D::add |
( |
double |
x, |
|
|
double |
y, |
|
|
int |
trcnr, |
|
|
float |
spnr |
|
) |
| |
◆ as2D()
◆ averageTrcDist()
float Survey::Geometry2D::averageTrcDist |
( |
| ) |
const |
|
virtual |
◆ compare()
◆ data()
◆ dataAdmin()
If data is changed, call touch afterwards.
◆ getName()
virtual const char* Survey::Geometry2D::getName |
( |
| ) |
const |
|
virtual |
◆ getPosByCoord()
bool Survey::Geometry2D::getPosByCoord |
( |
const Coord & |
, |
|
|
int & |
trc, |
|
|
float & |
sp |
|
) |
| const |
◆ getPosBySPNr()
bool Survey::Geometry2D::getPosBySPNr |
( |
float |
spnr, |
|
|
Coord & |
, |
|
|
int & |
trcnr |
|
) |
| const |
◆ getPosByTrcNr()
bool Survey::Geometry2D::getPosByTrcNr |
( |
int |
trcnr, |
|
|
Coord & |
, |
|
|
float & |
spnr |
|
) |
| const |
◆ hasValidSPNrs()
bool Survey::Geometry2D::hasValidSPNrs |
( |
| ) |
const |
◆ includes()
virtual bool Survey::Geometry2D::includes |
( |
int |
linenr, |
|
|
int |
tracenr |
|
) |
| const |
|
virtual |
◆ is2D()
virtual bool Survey::Geometry2D::is2D |
( |
| ) |
const |
|
inlinevirtual |
◆ isEmpty()
bool Survey::Geometry2D::isEmpty |
( |
| ) |
const |
◆ lineLength()
float Survey::Geometry2D::lineLength |
( |
| ) |
const |
◆ makeUniqueLineName()
static BufferString Survey::Geometry2D::makeUniqueLineName |
( |
const char * |
lsnm, |
|
|
const char * |
lnm |
|
) |
| |
|
static |
◆ nearestTrace()
virtual TrcKey Survey::Geometry2D::nearestTrace |
( |
const Coord & |
, |
|
|
float * |
dist |
|
) |
| const |
|
virtual |
◆ setAverageTrcDist()
void Survey::Geometry2D::setAverageTrcDist |
( |
float |
| ) |
|
◆ setEmpty()
void Survey::Geometry2D::setEmpty |
( |
| ) |
|
◆ setLineLength()
void Survey::Geometry2D::setLineLength |
( |
float |
| ) |
|
◆ size()
int Survey::Geometry2D::size |
( |
| ) |
const |
◆ spnrs() [1/2]
TypeSet<float>& Survey::Geometry2D::spnrs |
( |
| ) |
|
|
inline |
◆ spnrs() [2/2]
const TypeSet<float>& Survey::Geometry2D::spnrs |
( |
| ) |
const |
|
inline |
◆ toCoord() [1/2]
virtual Coord Survey::Geometry2D::toCoord |
( |
int |
linenr, |
|
|
int |
tracenr |
|
) |
| const |
|
virtual |
◆ toCoord() [2/2]
Coord Survey::Geometry2D::toCoord |
( |
int |
tracenr | ) |
const |
◆ touch()
void Survey::Geometry2D::touch |
( |
| ) |
|
◆ udfSPNr()
static float Survey::Geometry2D::udfSPNr |
( |
| ) |
|
|
inlinestatic |
◆ zRange()
◆ data_
◆ linelength_
float Survey::Geometry2D::linelength_ |
|
mutableprotected |
◆ lock_
◆ spnrs_
TypeSet<float> Survey::Geometry2D::spnrs_ |
|
protected |
◆ trcdist_
float Survey::Geometry2D::trcdist_ |
|
mutableprotected |