|
| | DtUtmCoord (DtUtmReferencePoint *refPt=DtGlobalUtmReferencePoint()) |
| | default constructor More...
|
| |
| | DtUtmCoord (double east, double north, double up, DtUtmReferencePoint *refPt=DtGlobalUtmReferencePoint()) |
| | constructor More...
|
| |
| | DtUtmCoord (const DtGeodeticCoord &geodetic, DtUtmReferencePoint *refPt=DtGlobalUtmReferencePoint()) |
| | Constructor; construct UTM from geodetic. More...
|
| |
| virtual | ~DtUtmCoord () |
| | destructor More...
|
| |
| | DtUtmCoord (const DtUtmCoord &src) |
| | copy constructor More...
|
| |
| DtUtmCoord & | operator= (const DtUtmCoord &src) |
| | assignment operator More...
|
| |
| DtUtmCoord & | operator= (const DtGeodeticCoord &geodetic) |
| | Assignment operator; convert geodetic to UTM. More...
|
| |
| virtual DtUtmCoord & | setGeodetic (const DtGeodeticCoord &geodetic) |
| | Set from geodetic coordinate (convert geodetic to UTM). More...
|
| |
| virtual void | getGeodetic (DtGeodeticCoord &geodetic) const |
| | Get geodetic coordinate equivalent (convert UTM to geodetic). More...
|
| |
| virtual DtGeodeticCoord | geodetic () const |
| | Get geodetic coordinate equivalent (convert UTM to geodetic). More...
|
| |
| virtual DtUtmCoord & | setGeocentric (const DtVector &geocentric) |
| | Set from geocentric coordinate (convert geocentric to UTM). More...
|
| |
| virtual void | getGeocentric (DtVector &geocentric) const |
| | Get geocentric coordinate equivalent (convert UTM to geocentric). More...
|
| |
| virtual DtVector | geocentric () const |
| | Get geocentric coordinate equivalent (convert UTM to geocentric). More...
|
| |
| virtual void | setEast (DtFloat64 east) |
| | Set/Get east component. More...
|
| |
| virtual DtFloat64 | east () const |
| |
| virtual void | setNorth (DtFloat64 north) |
| | Set/Get north component. More...
|
| |
| virtual DtFloat64 | north () const |
| |
| virtual void | setUp (DtFloat64 up) |
| | Set/Get up component. More...
|
| |
| virtual DtFloat64 | up () const |
| |
| virtual double | gridDeclination () const |
| | Get the heading that northing is off of north. More...
|
| |
| | DtVector64 () |
| |
| | DtVector64 (const double &x, const double &y, const double &z) |
| | Construct from three doubles. More...
|
| |
| | ~DtVector64 () |
| | destructor More...
|
| |
| | DtVector64 (const DtVector64 &vec) |
| | copy constructor More...
|
| |
| | DtVector64 (const DtVectorT< double > &vec) |
| |
| DtVector64 & | operator= (const DtVector64 &vec) |
| | assignment operator More...
|
| |
| DtVector64 & | operator= (const DtVectorT< double > &vec) |
| |
| DtVector64 | crossProduct (const DtVector64 &v) const |
| | Compute cross product with another vector. More...
|
| |
| DtVector64 & | operator+= (const DtVector64 &other) |
| | adds other to this vector More...
|
| |
| DtVector64 & | operator-= (const DtVector64 &other) |
| | subtracts other from this vector (this - other) More...
|
| |
| double | dotProduct (const DtVector64 &v) const |
| | Compute dot product with another vector. More...
|
| |
| bool | approxEq (const DtVector64 &v, const double &tolerance) const |
| | check if the vector is zero-ed out withing the tolerance passed More...
|
| |
| | DtVectorT () |
| |
| | DtVectorT (const double &x, const double &y, const double &z) |
| | Construct from three doubles. More...
|
| |
| | DtVectorT (const DtVectorT< double > &vec) |
| | copy constructor More...
|
| |
| | ~DtVectorT () |
| | destructor More...
|
| |
| DtVectorT< double > & | operator= (const DtVectorT< double > &vec) |
| | assignment operator More...
|
| |
| void | setToZero () |
| | set Vector to all zeros More...
|
| |
| double & | operator[] (int ind) |
| | Get the value for the specified subscript. (int version) More...
|
| |
| double | operator[] (int ind) const |
| | A const version to get the value for the specified subscript. More...
|
| |
| double & | operator[] (DtVectorOffset ind) |
| | Get the value for the specified subscript. (enum version) More...
|
| |
| double | operator[] (DtVectorOffset ind) const |
| | a const version to get the value for the specified subscript. (enum version) More...
|
| |
| int | operator== (const DtVectorT< double > &vec) const |
| | Get whether another vector equals this vector. More...
|
| |
| int | operator!= (const DtVectorT< double > &vec) const |
| | Get whether another vector does not equal this vector. More...
|
| |
| DtString | string () const |
| | Get a string representation of the vector. More...
|
| |
| double | magnitudeSquared () const |
| | Get the magnitude of the vector squared, i.e. More...
|
| |
| void | normalize () |
| | Normalize the vector; i.e., magnitude = 1. More...
|
| |
| bool | isNormalized () const |
| | Returns true of the vector is Normalized. More...
|
| |
| bool | magnitudeIsZero () const |
| | check if the magnitude of this vector is zero More...
|
| |
| bool | magnitudeIsZero (double tolerance) const |
| | check if the magnitude of this vector is zero, within the tolerance passed. More...
|
| |
| std::ostream & | printDataToStream (std::ostream &str) const |
| | prints out a formated string to the stream More...
|
| |
| void | get (double &x, double &y, double &z) const |
| | get the x,y,z component of a Vector (faster than x(), y(), z() calls made separately) More...
|
| |
| void | setAll (const double &x, const double &y, const double &z) |
| | set x, y, and z components More...
|
| |
| const double & | x () const |
| | gets/sets the x component of a Vector More...
|
| |
| void | setX (const double &x) |
| | gets/sets the x component of a Vector More...
|
| |
| const double & | y () const |
| | gets/sets the y component of a Vector More...
|
| |
| void | setY (const double &y) |
| | gets/sets the y component of a Vector More...
|
| |
| const double & | z () const |
| | gets/sets the z component of a Vector More...
|
| |
| void | setZ (const double &z) |
| | gets/sets the z component of a Vector More...
|
| |
| | operator double * () |
| |
| | operator const double * () const |
| |
Instances of DtUtmCoord are used to represent UTM coordinates.
Universal Transverse Mercator projection coordinate with respect to reference set by DtUtmInit.
- Note
- For coordinate conversions, either DtUtmInit must be called first or the default constructor parameter should not be used.