VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Macros | Functions
csUtilities.h File Reference

Go to the source code of this file.

Macros

#define LAT_MIN_DEGREES   -90.0
 
#define LAT_MAX_DEGREES   90.0
 
#define LON_MIN_DEGREES   -180
 
#define LON_MAX_DEGREES   180.0
 
#define LAT_MIN_RADIANS   DtDeg2Rad(LAT_MIN_DEGREES)
 
#define LAT_MAX_RADIANS   DtDeg2Rad(LAT_MAX_DEGREES)
 
#define LON_MIN_RADIANS   DtDeg2Rad(LON_MIN_DEGREES)
 
#define LON_MAX_RADIANS   DtDeg2Rad(LON_MAX_DEGREES)
 

Functions

DT_DLL_terrainCS void setDtDegMinSecFromDegrees (DtDegMinSec &dms, double deg)
 
DT_DLL_terrainCS void setDtDegMinSecFromString (DtDegMinSec &dms, const char *dmsString)
 
DT_DLL_terrainCS void setLatDtDegMinSecFromString (DtDegMinSec &dms, const char *dmsString)
 
DT_DLL_terrainCS void setLonDtDegMinSecFromString (DtDegMinSec &dms, const char *dmsString)
 
DT_DLL_terrainCS void setLatDtDegMinSecFromDegrees (DtDegMinSec &dms, double deg)
 
DT_DLL_terrainCS void setLonDtDegMinSecFromDegrees (DtDegMinSec &dms, double deg)
 
DT_DLL_terrainCS void setUtmOriginLatLonFromZone (long zone, double northing, double easting, double scaleFactor=0.9996)
 
DT_DLL_terrainCS void degreesFromDegMinSec (double &deg, DtDegMinSec &dms)
 
DT_DLL_terrainCS void newGeod2Utm (double lat, double lon, long *zone, double *northing, double *easting)
 
DT_DLL_terrainCS void newUtm2Geod (double northing, double easting, long zone, double *lat, double *lon)
 
DT_DLL_terrainCS bool operator== (const DtDegMinSec &lhs, const DtDegMinSec &rhs)
 
DT_DLL_terrainCS bool operator!= (const DtDegMinSec &lhs, const DtDegMinSec &rhs)
 
DT_DLL_terrainCS void xformLocationViaGeocentric (Coordinate_System *csFrom, Coordinate_System *csTo, DtPoint &in, DtPoint &out, const DtVector *offset=0)
 
DT_DLL_terrainCS void xformLocationViaGeodetic (Coordinate_System *csFrom, Coordinate_System *csTo, DtPoint &in, DtPoint &out, const DtVector *offset=0)
 

Macro Definition Documentation

#define LAT_MIN_DEGREES   -90.0
#define LAT_MAX_DEGREES   90.0
#define LON_MIN_DEGREES   -180
#define LON_MAX_DEGREES   180.0
#define LAT_MIN_RADIANS   DtDeg2Rad(LAT_MIN_DEGREES)
#define LAT_MAX_RADIANS   DtDeg2Rad(LAT_MAX_DEGREES)
#define LON_MIN_RADIANS   DtDeg2Rad(LON_MIN_DEGREES)
#define LON_MAX_RADIANS   DtDeg2Rad(LON_MAX_DEGREES)

Function Documentation

DT_DLL_terrainCS void setDtDegMinSecFromDegrees ( DtDegMinSec &  dms,
double  deg 
)
DT_DLL_terrainCS void setDtDegMinSecFromString ( DtDegMinSec &  dms,
const char dmsString 
)
DT_DLL_terrainCS void setLatDtDegMinSecFromString ( DtDegMinSec &  dms,
const char dmsString 
)
DT_DLL_terrainCS void setLonDtDegMinSecFromString ( DtDegMinSec &  dms,
const char dmsString 
)
DT_DLL_terrainCS void setLatDtDegMinSecFromDegrees ( DtDegMinSec &  dms,
double  deg 
)
DT_DLL_terrainCS void setLonDtDegMinSecFromDegrees ( DtDegMinSec &  dms,
double  deg 
)
DT_DLL_terrainCS void setUtmOriginLatLonFromZone ( long  zone,
double  northing,
double  easting,
double  scaleFactor = 0.9996 
)
DT_DLL_terrainCS void degreesFromDegMinSec ( double deg,
DtDegMinSec &  dms 
)
DT_DLL_terrainCS void newGeod2Utm ( double  lat,
double  lon,
long zone,
double northing,
double easting 
)
DT_DLL_terrainCS void newUtm2Geod ( double  northing,
double  easting,
long  zone,
double lat,
double lon 
)
DT_DLL_terrainCS bool operator== ( const DtDegMinSec &  lhs,
const DtDegMinSec &  rhs 
)
DT_DLL_terrainCS bool operator!= ( const DtDegMinSec &  lhs,
const DtDegMinSec &  rhs 
)
DT_DLL_terrainCS void xformLocationViaGeocentric ( Coordinate_System csFrom,
Coordinate_System csTo,
DtPoint in,
DtPoint out,
const DtVector *  offset = 0 
)
DT_DLL_terrainCS void xformLocationViaGeodetic ( Coordinate_System csFrom,
Coordinate_System csTo,
DtPoint in,
DtPoint out,
const DtVector *  offset = 0 
)

Document ID: Generated on Thu Oct 23 22:29:17 EDT 2025 from SVN revision 280951
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)