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... | |
JPosition3D | getPosition () const |
Get position. More... | |
double | getUTMEast () const |
Get UTM east. More... | |
double | getUTMNorth () const |
Get UTM north. More... | |
double | getUTMZ () const |
Get UTM Z. 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 30 of file JUTMPosition.hh.
|
inline |
|
inline |
|
inline |
Constructor.
east | UTM East |
north | UTM North |
z | UTM Z |
Definition at line 61 of file JUTMPosition.hh.
|
inline |
|
inline |
|
inline |
|
inline |
|
friend |
Read UTM position from input.
in | input stream |
pos | UTM position |
Definition at line 122 of file JUTMPosition.hh.
|
friend |
Write UTM position to output.
out | output stream |
pos | UTM position |
Definition at line 135 of file JUTMPosition.hh.
|
friend |
Read UTM position from input.
in | input stream |
pos | UTM position |
Definition at line 149 of file JUTMPosition.hh.
|
friend |
Write UTM position to output.
out | output stream |
pos | UTM position |
Definition at line 162 of file JUTMPosition.hh.
|
protected |
Definition at line 169 of file JUTMPosition.hh.
|
protected |
Definition at line 170 of file JUTMPosition.hh.
|
protected |
Definition at line 171 of file JUTMPosition.hh.