|
Jpp
17.0.0-rc.1
the software that should make you happy
|
Data structure for UTM position. More...
#include <JUTMPosition.hh>
Public Member Functions | |
| JUTMPosition () | |
| Default constructor. More... | |
| JUTMPosition (const JVector3D &pos) | |
| Constructor. More... | |
| JUTMPosition (const double east, const double north, const double z) | |
| Constructor. More... | |
| const JUTMPosition & | getUTMPosition () const |
| Get UTM position. More... | |
| void | setUTMPosition (const JUTMPosition &position) |
| Set UTM position. More... | |
| JPosition3D | getPosition () const |
| Get position. More... | |
| operator JPosition3D () const | |
| Type conversion operator. More... | |
| double | getUTMEast () const |
| Get UTM east. More... | |
| double | getUTMNorth () const |
| Get UTM north. More... | |
| double | getUTMZ () const |
| Get UTM Z. More... | |
| double | getX () const |
| Get x. More... | |
| double | getY () const |
| Get y. More... | |
| double | getZ () const |
| Get z. More... | |
| JUTMPosition & | negate () |
| Negate UTM position. More... | |
| JUTMPosition & | add (const JUTMPosition &pos) |
| Add UTM position. More... | |
| JUTMPosition & | sub (const JUTMPosition &pos) |
| Subtract UTM position. More... | |
| JUTMPosition & | mul (const double factor) |
| Scale UTM position. More... | |
| JUTMPosition & | div (const double factor) |
| Scale UTM position. More... | |
| double | getDisplacement (const JUTMPosition &position) const |
| Get displacement to position. More... | |
| JFirst_t & | mul (const JSecond_t &object) |
| Multiply with object. More... | |
Protected Attributes | |
| double | east |
| double | north |
| double | z |
Friends | |
| std::istream & | operator>> (std::istream &in, JUTMPosition &pos) |
| Read UTM position from input. More... | |
| std::ostream & | operator<< (std::ostream &out, const JUTMPosition &pos) |
| Write UTM position to output. More... | |
| JReader & | operator>> (JReader &in, JUTMPosition &pos) |
| Read UTM position from input. More... | |
| JWriter & | operator<< (JWriter &out, const JUTMPosition &pos) |
| Write UTM position to output. More... | |
Data structure for UTM position.
The z-coordinate corresponds to the depth where z = 0 is at sea level.
Definition at line 36 of file JUTMPosition.hh.
|
inline |
|
inline |
|
inline |
Constructor.
| east | UTM East |
| north | UTM North |
| z | UTM Z |
Definition at line 69 of file JUTMPosition.hh.
|
inline |
|
inline |
|
inline |
|
inline |
Type conversion operator.
Definition at line 117 of file JUTMPosition.hh.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Add UTM position.
| pos | UTM position |
Definition at line 210 of file JUTMPosition.hh.
|
inline |
Subtract UTM position.
| pos | UTM position |
Definition at line 226 of file JUTMPosition.hh.
|
inline |
Scale UTM position.
| factor | multiplication factor |
Definition at line 242 of file JUTMPosition.hh.
|
inline |
Scale UTM position.
| factor | division factor |
Definition at line 258 of file JUTMPosition.hh.
|
inline |
Get displacement to position.
The displacement corresponds to the 2D distance in the (East,North) plane.
| position | position |
Definition at line 276 of file JUTMPosition.hh.
|
inlineinherited |
Multiply with object.
| object | object |
Definition at line 357 of file JMath.hh.
|
friend |
Read UTM position from input.
| in | input stream |
| pos | UTM position |
Definition at line 292 of file JUTMPosition.hh.
|
friend |
Write UTM position to output.
| out | output stream |
| pos | UTM position |
Definition at line 305 of file JUTMPosition.hh.
|
friend |
Read UTM position from input.
| in | input stream |
| pos | UTM position |
Definition at line 324 of file JUTMPosition.hh.
|
friend |
Write UTM position to output.
| out | output stream |
| pos | UTM position |
Definition at line 337 of file JUTMPosition.hh.
|
protected |
Definition at line 344 of file JUTMPosition.hh.
|
protected |
Definition at line 345 of file JUTMPosition.hh.
|
protected |
Definition at line 346 of file JUTMPosition.hh.
1.8.5