Go to the documentation of this file. 1 #ifndef __JUTM__JUTMPOSITION__
2 #define __JUTM__JUTMPOSITION__
17 namespace JPP {
using namespace JUTM; }
84 return static_cast<const JUTMPosition&>(*
this);
233 return out << pos.
east <<
' ' << pos.
north <<
' ' << pos.
z;
JUTMPosition & div(const double factor)
Scale UTM position.
JUTMPosition & sub(const JUTMPosition &pos)
Subtract UTM position.
Interface for binary input.
JUTMPosition()
Default constructor.
double getUTMZ() const
Get UTM Z.
JUTMPosition & mul(const double factor)
Scale UTM position.
JUTMPosition(const double east, const double north, const double z)
Constructor.
JUTMPosition & add(const JUTMPosition &pos)
Add UTM position.
Auxiliary base class for aritmetic operations of derived class types.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
friend std::istream & operator>>(std::istream &in, JUTMPosition &pos)
Read UTM position from input.
Data structure for vector in three dimensions.
Data structure for position in three dimensions.
JPosition3D getPosition() const
Get position.
Interface for binary output.
Data structure for UTM position.
friend JWriter & operator<<(JWriter &out, const JUTMPosition &pos)
Write UTM position to output.
double getUTMNorth() const
Get UTM north.
friend std::ostream & operator<<(std::ostream &out, const JUTMPosition &pos)
Write UTM position to output.
JUTMPosition(const JVector3D &pos)
Constructor.
friend JReader & operator>>(JReader &in, JUTMPosition &pos)
Read UTM position from input.
const JUTMPosition & getUTMPosition() const
Get UTM position.
Auxiliaries for handling universal transverse mercator coordinate system (UTM).
double getUTMEast() const
Get UTM east.
JUTMPosition & negate()
Negate UTM position.