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