|
Jpp
|
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... | |
| 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... | |
| 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... | |
| JUTMPosition & | mul (const JNullType &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 34 of file JUTMPosition.hh.
|
inline |
|
inline |
|
inline |
Constructor.
| east | UTM East |
| north | UTM North |
| z | UTM Z |
Definition at line 67 of file JUTMPosition.hh.
|
inline |
|
inline |
|
inline |
Type conversion operator.
Definition at line 104 of file JUTMPosition.hh.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Add UTM position.
| pos | UTM position |
Definition at line 164 of file JUTMPosition.hh.
|
inline |
Subtract UTM position.
| pos | UTM position |
Definition at line 180 of file JUTMPosition.hh.
|
inline |
Scale UTM position.
| factor | multiplication factor |
Definition at line 196 of file JUTMPosition.hh.
|
inline |
Scale UTM position.
| factor | division factor |
Definition at line 212 of file JUTMPosition.hh.
|
inlineinherited |
Multiply with object.
| object | object |
Definition at line 273 of file JMath.hh.
|
friend |
Read UTM position from input.
| in | input stream |
| pos | UTM position |
Definition at line 229 of file JUTMPosition.hh.
|
friend |
Write UTM position to output.
| out | output stream |
| pos | UTM position |
Definition at line 242 of file JUTMPosition.hh.
|
friend |
Read UTM position from input.
| in | input stream |
| pos | UTM position |
Definition at line 256 of file JUTMPosition.hh.
|
friend |
Write UTM position to output.
| out | output stream |
| pos | UTM position |
Definition at line 269 of file JUTMPosition.hh.
|
protected |
Definition at line 276 of file JUTMPosition.hh.
|
protected |
Definition at line 277 of file JUTMPosition.hh.
|
protected |
Definition at line 278 of file JUTMPosition.hh.
1.8.5