|
| | Location (double x=0, double y=0, double z=0) |
| |
| | Location (const Coord &, float z=0) |
| |
| | Location (const Coord3 &) |
| |
| | Location (const Coord3 &pos, const Coord3 &dir) |
| |
| | Location (const Coord3 &pos, const Sphere &dir) |
| |
| | Location (const Location &) |
| |
| | ~Location () |
| |
| bool | operator== (const Location &oth) const |
| |
| bool | operator!= (const Location &oth) const |
| |
| void | operator= (const Location &) |
| |
| bool | hasPos () const |
| |
| bool | hasTrcKey () const |
| |
| bool | hasDir () const |
| |
| bool | hasText () const |
| |
| const Coord3 & | pos () const |
| |
| float | z () const |
| |
| bool | is2D () const |
| |
| Pos::SurvID | survID () const |
| |
| Pos::GeomID | geomID () const |
| |
| const TrcKey & | trcKey () const |
| |
| Pos::LineID | lineNr () const |
| |
| Pos::TraceID | trcNr () const |
| |
| const BinID & | binID () const |
| |
| const Sphere & | dir () const |
| |
| const BufferString & | text () const |
| |
| Location & | setPos (const Coord3 &c) |
| |
| Location & | setPos (const Coord &c) |
| |
| Location & | setPos (double x, double y, double zval) |
| |
| Location & | setPos (const Coord &c, float zval) |
| |
| template<class FT > |
| Location & | setZ (FT zval) |
| |
| Location & | setTrcKey (const TrcKey &) |
| |
| Location & | setDir (const Sphere &) |
| |
| Location & | setDir (const Coord &) |
| |
| Location & | setLineNr (Pos::LineID) |
| |
| Location & | setTrcNr (Pos::LineID) |
| |
| Location & | setGeomID (Pos::GeomID) |
| |
| Location & | setBinID (const BinID &, bool updcoord=false) |
| |
| Location & | setSurvID (Pos::SurvID, bool updfromcoord=true) |
| |
| bool | hasTextKey (const char *key) const |
| |
| bool | getKeyedText (const char *key, BufferString &) const |
| |
| void | setKeyedText (const char *key, const char *txt) |
| |
| void | removeTextKey (const char *key) |
| |
| Location & | setText (const char *) |
| | make sure it's compatible with the keying system More...
|
| |
| bool | fromString (const char *) |
| |
| void | toString (BufferString &, bool forexport=false, const Coords::CoordSystem *crs=0) const |
| |
| void | setText (const char *key, const char *txt) |
| |
| void | unSetText (const char *key) |
| |
| bool | getText (const char *key, BufferString &) const |
| |
| void | setDip (float, float) |
| |
| float | inlDip () const |
| |
| float | crlDip () const |
| |
Pick location in space,.
A pick location always has a position in X, Y and Z ('pos()'). If asked, you'll always get the corresponding TrcKey. But, the TrcKey may not be stored as such. If this matters, try hasTrcKey(). If there is no available TrcKey, then it will be generated from the default survey geometry.
A Location has an optional text. This has to be used as a keyed storage like: key1'xx'key2'yy If no text is available, you'll get an empty string.
A Location also has an optional direction: phi is defined as the direction's counter-clockwise angle from the x-axis in the x-y plane. theta is defined as the directions angle from the upward pointing z axis (i.e. opposite to survey-z-axis). Theta and the radius are defined after the SI().zFactor is applied to the z-coordinate. If no direction is available, you'll get nullSphere().