Instances of DtUtmCoordSystem provide transformations and utilities for converting between network and UTM database coordinates.
More...
Public Member Functions |
| | DtUtmCoordinateConverter () |
| | default constructor
|
| virtual | ~DtUtmCoordinateConverter () |
| | destructor
|
| virtual DtCoordinateConverter * | clone () const |
| | Clone the coordinate converter;.
|
| virtual void | init (double lat, double lon, long zone=0, int useStandardOffsets=0) |
| | Initialize converter with the origin's latitude and longitude, and an optional zone and standard offsets.
|
| virtual void | init (double lat, double lon, double z, long zone=0, int useStandardOffsets=0) |
| | Initialize converter with the origin's latitude and longitude and a z value, and an optional zone and standard offsets.
|
| virtual void | init (const DtGeodeticCoord &origin, long zone=0, int useStandardOffsets=0) |
| | Initialize converter with the origin's and an optional zone and standard offsets.
|
| virtual void | init (DtDegMinSec lat, DtDegMinSec lon, long zone=0, int useStandardOffsets=0) |
| | Initialize converter with the origin's latitude and longitude, and an optional zone and standard offsets.
|
| virtual void | init (DtDegMinSec lat, DtDegMinSec lon, double z, long zone=0, int useStandardOffsets=0) |
| | Initialize converter with the origin's latitude and longitude and a z-value, and an optional zone and standard offsets.
|
| virtual void | init (long zone, char hemisphere= 'N', bool useMpiDefaultOrigin=true) |
| | Initialize converter with the zone.
|
| virtual void | init (double falseOriginX, double falseOriginY, double falseOriginZ, long zone, char hemisphere= 'N', bool useMpiDefaultOrigin=true) |
| | Initialize converter with a false origin and zone.
|
| virtual bool | init (const std::string &originstring) |
| | Initialize converter with an origin string.
|
| virtual std::string | stringRep () |
| | Convert to string.
|
| virtual const DtGeodeticCoord & | origin () const |
| | Get the origin origin is (latitude, longitude, alt) in degrees and meters (alt = 0 always)
|
| virtual bool | useStandardOffsets () const |
| | Get standard offsets.
|
| virtual long | zone () const |
| | Set/Get the zone.
|
| virtual void | setZone (long zone) |
| virtual DtDegMinSec | latRef () const |
| | Get the reference latitude and longitude.
|
| virtual DtDegMinSec | longRef () const |
| virtual void | geocToCig (const DtVector &geoc, DtVector &out) const |
| | geoc coordinates to cig coordinates
|
| virtual const DtUtmReferencePoint * | referencePoint () const |
| virtual void | cigToGeoc (const DtVector &in, DtVector &geoc) const |
| | cig coordinates to geoc coordinates
|
| virtual void | setupTopoFrame (const DtVector &truth) |
| | Update all our transformation matrices based on the current database position.
|
| virtual | ~DtCoordinateConverter () |
| | destructor
|
| virtual const std::string & | type () const |
| | Get converter type - this base class type is NoOp.
|
| virtual bool | zIsAlt () const |
| | get whether 3rd element corresponds to altitude in this coordinate system
|
| virtual bool | usesOffsetFile () const |
| | get whether Warbreaker type file needed
|
| virtual DtGeodeticCoord | databaseOrigin () const |
| | get database origin (cig) Origin is (latitude, longitude, alt) in degrees and meters (alt = 0 always)
|
| virtual void | setGeocOriginOffset (const DtVector &offset) |
| | set origin offset (geoc cig origin)
|
| virtual void | reset () |
| | Reset the coordinate converter This function recalculates constants used for conversions.
|
| virtual const DtDcm & | nedToCigDcm () const |
| | get ned to cig rotation matrix
|
| virtual const DtDcm & | cigToNedDcm () const |
| | get cig to ned rotation matrix
|
| virtual const DtDcm & | geocToCigDcm () const |
| | set/get geoc to cig rotation matrix
|
| virtual const DtDcm & | cigToGeocDcm () const |
| | get cig to geoc rotation matrix NOTE: returns a static reference, non-reentrant
|
| virtual const DtDcm & | geocToNedDcm () const |
| | set/get geoc to ned rotation matrix
|
| virtual const DtDcm & | cigToEnuDcm () const |
| | get geoc to ned estimate rotation matrix virtual const DtDcm& geocToNedEstDcm() const;
|
| virtual const DtDcm & | nedToGeocDcm () const |
| | get ned to geoc rotation matrix
|
| virtual void | cigToEnu_coordTrans (const DtVector &cigPos, DtVector &enuPos) const |
| | convert to Enu coordinates from Cig coordinates
|
| virtual void | cigToEnu_vecTrans (const DtVector &cigVec, DtVector &enuVec) const |
| | convert to Enu vector from Cig vector
|
| virtual void | enuToCig_coordTrans (const DtVector &enuPos, DtVector &cigPos) const |
| | convert to Cig coordinates from Enu coordinates
|
| virtual void | enuToCig_vecTrans (const DtVector &enuVec, DtVector &cigVec) const |
| | convert to Cig vector from Enu vector NOTE: returns a static reference, non-reentrant
|
| virtual DtVector & | enuToCig_vecTrans (const DtVector &origin, const DtVector &offset) const |
| | provide cig coordinates given enu offset from a cig coord
|
| virtual const DtTaitBryan & | nedToCig_EulerTrans (const DtTaitBryan &topo) const |
| | provide cig euler angles from topo euler NOTE: returns a static reference, non-reentrant
|
| virtual DtVector | up (const DtVector &orig) const |
| | provide 'up' vector
|
| virtual void | topoSurface (const DtVector &o, DtVector &surface) const |
| | fill surface with topographic coords, alt 0
|
Static Public Member Functions |
| static DtCoordinateConverter * | create () |
| static double | calculateUtmLongitudeOrigin (double zone, bool useMpiDefaultOrigin=true) |
| static void | calculateUtmLatLonOrigin (double zone, double falseOriginX, double falseOriginY, double &latitude, double &longitude, bool useMpiDefaultOrigin=true) |
| static int | utmGridZoneFromLatLon (double latitudeInDegrees, double longitudeInDegrees) |
| static void | setLatDtDegMinSecFromDegrees (DtDegMinSec &dmslat, double deg) |
| static void | setLonDtDegMinSecFromDegrees (DtDegMinSec &dmslon, double deg) |
| static void | initUtmReferencePointForZone (double longitude, bool standardOffsets, const DtMapDatum &datum, DtUtmReferencePoint &refToInitialized) |
| static double | utmZoneToCentralMeridian (int zone) |
| static double | convertToDouble (const std::string &str) |
| static double | convertToDouble (const DtDegMinSec &dms) |
| static DtDegMinSec | convertToDmsLat (double deg) |
| static DtDegMinSec | convertToDmsLon (double deg) |
| static bool | isCoordinateSystemProjected (const std::string &csType) |
| | Is the specified coordinate system type a projected type?
|
Instances of DtUtmCoordSystem provide transformations and utilities for converting between network and UTM database coordinates.