OpendTect
6.6
|
Position info for a 2D line. More...
Public Member Functions | |
Line2DData (const char *lnm=0) | |
Line2DData (const Line2DData &l2d) | |
void | add (const Line2DPos &) |
bool | coincidesWith (const Line2DData &) const |
void | compDistBetwTrcsStats (float &max, float &median) const |
float | distBetween (int startnr, int stopnr) const |
void | dump (od_ostream &, bool pretty=true) const |
const TypeSet< int > & | getBendPoints () const |
void | getBendPositions (TypeSet< Line2DPos > &) const |
Coord | getNormal (int trcnr) const |
bool | getPos (const Coord &crd, Line2DPos &l2p, float *dist=0) const |
bool | getPos (const Coord &crd, Line2DPos &l2p, float threshold_distance) const |
bool | getPos (int trcnr, Line2DPos &) const |
int | indexOf (int trcnr) const |
bool | isEmpty () const |
bool | isPresent (int trcnr) const |
void | limitTo (Interval< int > trcrg) |
const OD::String & | lineName () const |
int | nearestIdx (const Coord &, const Interval< int > &trcnrrg) const |
int | nearestIdx (const Coord &crd) const |
const TypeSet< Line2DPos > & | positions () const |
bool | read (od_istream &, bool asc) |
void | remove (int trcnr) |
void | setBendPoints (const TypeSet< int > &) |
void | setEmpty () |
void | setLineName (const char *lnm) |
void | setZRange (const StepInterval< float > &zrg) |
int | size () const |
StepInterval< Pos::TraceID > | trcNrRange () const |
bool | write (od_ostream &, bool asc, bool newlns=false) const |
const StepInterval< float > & | zRange () const |
Protected Member Functions | |
int | getSegmentIndexClosestToPoint (const Coord &) const |
int | gtIndex (const Coord &, double *sqdist=0) const |
int | gtIndex (int, bool &) const |
Protected Attributes | |
TypeSet< int > | bendpoints_ |
BufferString | lnm_ |
TypeSet< Line2DPos > | posns_ |
StepInterval< float > | zrg_ |
Friends | |
class | Line2DDataIterator |
Position info for a 2D line.
<>
PosInfo::Line2DData::Line2DData | ( | const char * | lnm = 0 | ) |
|
inline |
void PosInfo::Line2DData::add | ( | const Line2DPos & | ) |
bool PosInfo::Line2DData::coincidesWith | ( | const Line2DData & | ) | const |
A true return value means they have at least one trace number in common and all common trace numbers have the same coordinates on either line.
void PosInfo::Line2DData::compDistBetwTrcsStats | ( | float & | max, |
float & | median | ||
) | const |
float PosInfo::Line2DData::distBetween | ( | int | startnr, |
int | stopnr | ||
) | const |
void PosInfo::Line2DData::dump | ( | od_ostream & | , |
bool | pretty = true |
||
) | const |
const TypeSet<int>& PosInfo::Line2DData::getBendPoints | ( | ) | const |
Coord PosInfo::Line2DData::getNormal | ( | int | trcnr | ) | const |
bool PosInfo::Line2DData::getPos | ( | const Coord & | crd, |
Line2DPos & | l2p, | ||
float | threshold_distance | ||
) | const |
bool PosInfo::Line2DData::getPos | ( | int | trcnr, |
Line2DPos & | |||
) | const |
|
protected |
|
protected |
|
protected |
int PosInfo::Line2DData::indexOf | ( | int | trcnr | ) | const |
|
inline |
|
inline |
void PosInfo::Line2DData::limitTo | ( | Interval< int > | trcrg | ) |
|
inline |
|
inline |
bool PosInfo::Line2DData::read | ( | od_istream & | , |
bool | asc | ||
) |
void PosInfo::Line2DData::remove | ( | int | trcnr | ) |
void PosInfo::Line2DData::setBendPoints | ( | const TypeSet< int > & | ) |
|
inline |
|
inline |
|
inline |
|
inline |
StepInterval<Pos::TraceID> PosInfo::Line2DData::trcNrRange | ( | ) | const |
bool PosInfo::Line2DData::write | ( | od_ostream & | , |
bool | asc, | ||
bool | newlns = false |
||
) | const |
|
inline |
|
friend |
|
protected |
|
protected |
|
protected |
Generated at for the OpendTect seismic interpretation project. Copyright (C): dGB Beheer B.V. 1995-2022