Geographic Coordinate System class. More...
#include <BaseGeoCoord.h>
Public Member Functions | |
StatusInt | InitAzimuthalEqualArea (WStringP errorMsg, WCharCP datumName, WCharCP unitName, double originLongitude, double originLatitude, double azimuthAngle, double scale, double falseEasting, double falseNorthing, int quadrant) |
Used in conjunction with the no-argument contructor to set the BaseGCS to an Azimuthal Equal Area projection. More... | |
StatusInt | InitLatLong (WStringP errorMsg, WCharCP datumName, WCharCP ellipsoidName, WCharCP unitName, double originLongitude, double originLatitude) |
Used in conjunction with the no-argument contructor to set the BaseGCS to give cartesian angular values. More... | |
StatusInt | InitFromWellKnownText (StatusInt *warning, WStringP warningErrorMsg, WktFlavor wktFlavor, WCharCP wellKnownText) |
Used in conjunction with the CreateGCS factory method to set the BaseGCS from a "well known text" string. More... | |
StatusInt | InitFromEPSGCode (StatusInt *warning, WStringP warningErrorMsg, int epsgCode) |
Used in conjunction with the CreateGCS factory method to set the BaseGCS from an EPSG coordinate system code. More... | |
StatusInt | GetWellKnownText (WStringR wellKnownText, WktFlavor wktFlavor) const |
Gets the Well Known Text string from a coordinate system definition. More... | |
StatusInt | GetCompoundCSWellKnownText (WStringR wellKnownText, WktFlavor wktFlavor) const |
Gets the COMPD_CS Well Known Text string from a coordinate system definition. More... | |
StatusInt | InitFromGeoTiffKeys (StatusInt *warning, WStringP warningErrorMsg,::IGeoTiffKeysList *geoTiffKeys) |
Used in conjunction with the CreateGCS factory method to set the BaseGCS from a set of GeoTiff Keys. More... | |
StatusInt | SetGeoTiffKeys (::IGeoTiffKeysList *geoTiffKeys) const |
Saves the coordinate system to GeoTiffKeys, if possible. More... | |
bool | CanSaveToGeoTiffKeys () const |
Reveals whether the coordinate system can be saved to GeoTiffKeys. More... | |
bool | IsValid () const |
Returns whether the Coordinate System is valid or not. More... | |
int | GetError () const |
Gets the error code associated with constructor failure if IsValid is false. More... | |
WCharCP | GetErrorMessage (WStringR errorMsg) const |
Gets the error message associated with constructor failure if IsValid is false. More... | |
bool | Validate (T_WStringVector &errorList) const |
Tests the coordinate system definition for validity. More... | |
bool | IsStandard () const |
Returns whether the Coordinate System is a standard coordinate system or not. More... | |
WCharCP | GetName () const |
Gets the name of the Coordinate System. More... | |
StatusInt | SetName (WCharCP name) |
Sets the name of the Coordinate System. More... | |
WCharCP | GetDescription () const |
Gets the description of the Coordinate System. More... | |
StatusInt | SetDescription (WCharCP description) |
Sets the description of the Coordinate System. More... | |
WCharCP | GetProjection () const |
Gets the name of the projection used by the Coordinate System. More... | |
ProjectionCodeValue | GetProjectionCode () const |
Gets CS_Map projection code of the Coordinate System. More... | |
StatusInt | SetProjectionCode (ProjectionCodeValue projectionCode) |
Sets CS_Map projection code of the Coordinate System. More... | |
WCharCP | GetSource (WStringR source) const |
Gets the source of the Coordinate System. More... | |
StatusInt | SetSource (WCharCP source) |
Sets the source of the Coordinate System. More... | |
WCharCP | GetUnits (WStringR units) const |
Gets the name of the Coordinate System units. More... | |
int | GetUnitCode () const |
Gets the internal index for the Coordinate System units. More... | |
int | GetEPSGUnitCode () const |
Finds the EPSG code for the unit used by this coordinate system. More... | |
StatusInt | SetUnitCode (int code) |
Sets the Units to those indicated by the unit code. More... | |
WCharCP | GetDatumName () const |
Gets the name of the Coordinate System Datum. More... | |
int | GetDatumCode () const |
Gets the internal index of the Coordinate System Datum. More... | |
StatusInt | SetDatumCode (int datumCode) |
Sets the internal index of the Datum for the Coordinate System Datum. More... | |
WCharCP | GetDatumDescription () const |
Gets the description of the Coordinate System Datum. More... | |
WCharCP | GetDatumSource (WStringR datumSource) const |
Gets the Coordinate System Datum source citation. More... | |
WGS84ConvertCode | GetDatumConvertMethod () const |
Gets the method used to convert longitude/latitude from the Datum of this GCS to the WGS84 datum. More... | |
void | GetDatumDelta (DPoint3dR delta) const |
Gets the vector from the geocenter of the WGS84 Datum to the geocenter of the Datum of this GCS. More... | |
void | GetDatumRotation (DPoint3dR rotation) const |
Gets the angles from the WGS84 x, y, and z axes to those of the Datum of this GCS. More... | |
double | GetDatumScale () const |
Gets the datum transformation scaling in parts per million of the Datum of this GCS, if known. More... | |
bool | DatumParametersValid (bool &deltaValid, bool &rotationValid, bool &scaleValid) const |
Returns whether the delta, rotation, and scale parameters are valid for the Datum of this GCS. More... | |
WCharCP | GetVerticalDatumName () const |
Gets the name of the Coordinate System Vertical Datum. More... | |
VertDatumCode | GetVerticalDatumCode () const |
Gets the Vertical Datum Code. More... | |
StatusInt | SetVerticalDatumCode (VertDatumCode) |
Sets the Vertical Datum Code. More... | |
WCharCP | GetEllipsoidName () const |
Gets the name of the Coordinate System Ellipsoid. More... | |
int | GetEllipsoidCode () const |
Gets the internal index of the Coordinate System Ellipsoid. More... | |
StatusInt | SetEllipsoidCode (int ellipsoidCode) |
Sets the internal index of the Coordinate System Ellipsoid. More... | |
WCharCP | GetEllipsoidDescription () const |
Gets the description of the Coordinate System Ellipsoid. More... | |
WCharCP | GetEllipsoidSource (WStringR ellipsoidSource) const |
Gets the Coordinate System Ellipsoid source citation. More... | |
double | GetOriginLatitude () const |
Gets the origin latitude of the Coordinate System. More... | |
StatusInt | SetOriginLatitude (double value) |
Sets the origin latitude of the Coordinate System. More... | |
double | GetOriginLongitude () const |
Gets the origin longitude of the Coordinate System. More... | |
StatusInt | SetOriginLongitude (double value) |
Sets the origin longitude of the Coordinate System. More... | |
double | GetFalseEasting () const |
Gets the false easting of the Coordinate System. More... | |
StatusInt | SetFalseEasting (double value) |
Sets the false easting of the Coordinate System. More... | |
double | GetFalseNorthing () const |
Gets the false northing of the Coordinate System. More... | |
StatusInt | SetFalseNorthing (double value) |
Sets the false northing of the Coordinate System. More... | |
double | GetScaleReduction () const |
Gets the scale reduction of the Coordinate System. More... | |
StatusInt | SetScaleReduction (double value) |
Sets the Scale Reduction of the Coordinate System. More... | |
double | GetEllipsoidPolarRadius () const |
Gets the polar radius of the Coordinate System. More... | |
double | GetEllipsoidEquatorialRadius () const |
Gets the equatorial radius of the Ellipsoid. More... | |
double | GetEllipsoidEccentricity () const |
Gets the eccentricity value for the Ellipsoid. More... | |
double | GetMinimumLongitude () const |
Gets the minimum longitude for the Geographic Coordinate System. More... | |
StatusInt | SetMinimumLongitude (double value) |
Sets the minimum longitude for the Geographic Coordinate System. More... | |
double | GetMaximumLongitude () const |
Gets the maximum longitude for the Geographic Coordinate System. More... | |
StatusInt | SetMaximumLongitude (double value) |
Sets the maximum longitude for the Geographic Coordinate System. More... | |
double | GetMinimumLatitude () const |
Gets the minimum latitude for the Geographic Coordinate System. More... | |
StatusInt | SetMinimumLatitude (double value) |
Sets the minimum latitude for the Geographic Coordinate System. More... | |
double | GetMaximumLatitude () const |
Gets the maximum latitude for the Geographic Coordinate System. More... | |
StatusInt | SetMaximumLatitude (double value) |
Sets the maximum latitude for the Geographic Coordinate System. More... | |
double | GetMinimumUsefulLongitude () const |
Gets the minimum useful longitude for the Geographic Coordinate System. More... | |
double | GetMaximumUsefulLongitude () const |
Gets the maximum useful longitude for the Geographic Coordinate System. More... | |
double | GetMinimumUsefulLatitude () const |
Gets the minimum useful latitude for the Geographic Coordinate System. More... | |
double | GetMaximumUsefulLatitude () const |
Gets the maximum useful latitude for the Geographic coordinate system. More... | |
double | GetStandardParallel1 () const |
Gets the first standard parallel for Projections that have one. More... | |
StatusInt | SetStandardParallel1 (double value) |
Sets the first standard parallel for Projections that have one. More... | |
double | GetStandardParallel2 () const |
Gets the first standard parallel for Projections that have one. More... | |
StatusInt | SetStandardParallel2 (double value) |
Sets the second standard parallel for Projections that have one. More... | |
double | GetAzimuth () const |
Gets the azimuth angle for Projections that have one. More... | |
StatusInt | SetAzimuth (double value) |
Sets the azimuth angle for Projections that have one. More... | |
double | GetCentralMeridian () const |
Gets the central meridian (in degrees) for Projections that have one. More... | |
StatusInt | SetCentralMeridian (double value) |
Sets the central meridian (in degrees) for Projections that have one. More... | |
double | GetEasternMeridian () const |
Gets the eastern meridian (in degrees) for Projections that have one. More... | |
StatusInt | SetEasternMeridian (double value) |
Sets the central meridian (in degrees) for Projections that have one. More... | |
double | GetCentralPointLongitude () const |
Gets the central point longitude (in degrees) for Projections that have one. More... | |
StatusInt | SetCentralPointLongitude (double value) |
Sets the central point longitude (in degrees) for Projections that have one. More... | |
double | GetCentralPointLatitude () const |
Gets the central point latitude (in degrees) for Projections that have one. More... | |
StatusInt | SetCentralPointLatitude (double value) |
Sets the central point latitude (in degrees) for Projections that have one. More... | |
double | GetPoint1Longitude () const |
Gets the longitude of the first point of the central geodesic (in degrees) for Projections that have one. More... | |
StatusInt | SetPoint1Longitude (double value) |
Sets the longitude of the first point of the central geodesic (in degrees) for Projections that have one. More... | |
double | GetPoint1Latitude () const |
Gets the latitude of the first point of the central geodesic (in degrees) for Projections that have one. More... | |
StatusInt | SetPoint1Latitude (double value) |
Sets the latitude of the first point of the central geodesic (in degrees) for Projections that have one. More... | |
double | GetPoint2Longitude () const |
Gets the longitude of the second point of the central geodesic (in degrees) for Projections that have one. More... | |
StatusInt | SetPoint2Longitude (double value) |
Sets the longitude of the second point of the central geodesic (in degrees) for Projections that have one. More... | |
double | GetPoint2Latitude () const |
Gets the latitude of the second point of the central geodesic (in degrees) for Projections that have one. More... | |
StatusInt | SetPoint2Latitude (double value) |
Sets the latitude of the second point of the central geodesic (in degrees) for Projections that have one. More... | |
double | GetGeoidSeparation () const |
Gets the geoid separation, in CS units, for Projections that use that parameter. More... | |
StatusInt | SetGeoidSeparation (double value) |
Sets the geoid separation, in CS units, for Projections that have one. More... | |
double | GetElevationAboveGeoid () const |
Gets the elevation above the geoid, in CS units, for Projections that use that parameter. More... | |
StatusInt | SetElevationAboveGeoid (double value) |
Sets the elevation above the geoid, in CS units, for Projections that have one. More... | |
double | GetEllipsoidScaleFactor () const |
Gets the ellipsoid scale factor, used by Lambert Conformal Conic Michigan variation. More... | |
StatusInt | SetEllipsoidScaleFactor (double value) |
Sets the ellisoid scale factor for a Lambert Conformal Conic Michigan variation. More... | |
int | GetUTMZone () const |
Gets the UTM Zone number (1-60) for the Univeral Transverse Mercator projection. More... | |
StatusInt | SetUTMZone (int value) |
Sets the UTM Zone number (1-60) for the Universal Transverse Mercator projections. More... | |
int | GetHemisphere () const |
Gets the Hemisphere (1 for north or -1 for south) for the Univeral Transverse Mercator projection. More... | |
StatusInt | SetHemisphere (int value) |
Sets the Hemisphere (1 for north or -1 for south) for the Univeral Transverse Mercator projection. More... | |
int | GetQuadrant () const |
Gets the Quadrant for Projections that use that parameter. More... | |
StatusInt | SetQuadrant (short value) |
Sets the Quadrant for Projections that use that parameter. More... | |
int | GetDanishSys34Region () const |
Gets the Danish System 34 Region for Danish Sys 34 Projections. More... | |
StatusInt | SetDanishSys34Region (int value) |
Sets the Danish System 34 Region for Danish Sys 34 Projections. More... | |
double | GetAffineA0 () const |
Gets the A0 Affine post-processing parameter for Projections that have one. More... | |
StatusInt | SetAffineA0 (double value) |
Sets the A0 Affine post-processing parameter for Projections that have one. More... | |
double | GetAffineA1 () const |
Gets the A1 Affine post-processing parameter for Projections that have one. More... | |
StatusInt | SetAffineA1 (double value) |
Sets the A1 Affine post-processing parameter for Projections that have one. More... | |
double | GetAffineA2 () const |
Gets the A2 Affine post-processing parameter for Projections that have one. More... | |
StatusInt | SetAffineA2 (double value) |
Sets the A2 Affine post-processing parameter for Projections that have one. More... | |
double | GetAffineB0 () const |
Gets the B0 Affine post-processing parameter for Projections that have one. More... | |
StatusInt | SetAffineB0 (double value) |
Sets the B0 Affine post-processing parameter for Projections that have one. More... | |
double | GetAffineB1 () const |
Gets the B1 Affine post-processing parameter for Projections that have one. More... | |
StatusInt | SetAffineB1 (double value) |
Sets the B1 Affine post-processing parameter for Projections that have one. More... | |
double | GetAffineB2 () const |
Gets the B2 Affine post-processing parameter for Projections that have one. More... | |
StatusInt | SetAffineB2 (double value) |
Sets the B2 Affine post-processing parameter for Projections that have one. More... | |
void | GetAffineParameters (double *A0, double *A1, double *A2, double *B0, double *B1, double *B2) const |
Gets the affine parameters for the affine post-processing portion of Transverse Mercator with post affine or Lambert Conformal Conic with post affine projections. More... | |
StatusInt | SetAffineParameters (double A0, double A1, double A2, double B0, double B1, double B2) |
Sets the affine parameters for the affine post-processing portion of Transverse Mercator with post affine or Lambert Conformal Conic with post affine projections. More... | |
StatusInt | DefinitionComplete () |
Signals that the caller has finished setting the coordinate system parameters, and that the coordinate system internal definition should be initialized with the current parameter set. More... | |
double | GetScaleAlongMeridian (GeoPointCR point) const |
Gets the grid scale along a meridian of the coordinate system at the specified longitude/latitude. More... | |
double | GetScaleAlongParallel (GeoPointCR point) const |
Gets the grid scale along a parallel of the coordinate system at the specified longitude/latitude. More... | |
double | GetGridScale (GeoPointCR point) const |
Gets the grid scale of the coordinate system at the specified longitude/latitude. More... | |
double | GetConvergenceAngle (GeoPointCR point) const |
Gets the convergence angle, in degrees, of the coordinate system at the specified longitude/latitude. More... | |
StatusInt | GetDistance (double *distance, double *azimuth, GeoPointCR startPoint, GeoPointCR endPoint) const |
Computes distance (in the units of this GCS) and starting azimuthal angle (in degrees) from one geographic point to another. More... | |
StatusInt | GetCenterPoint (GeoPointR centerPoint) const |
Gets the latitude and longitude of a "center" point in the coordinate system. More... | |
bool | IsEquivalent (BaseGCSCR compareTo) const |
Compares this coordinate system with the argument and returns true if they have equivalent projection, parameters, datum, ellipsoid, and modifiers. More... | |
bool | Compare (BaseGCSCR compareTo, bool &datumDifferent, bool &csDifferent, bool &verticalDatumDifferent, bool &localTransformDifferent, bool stopFirstDifference) const |
Compares this coordinate system with the argument and returns true if they have equivalent projection, parameters, datum, and ellipsoid. More... | |
bool | HasEquivalentDatum (BaseGCSCR compareTo) const |
Compares the Datum of this coordinate system with the argument and returns true if they have equivalent datum (including ellipsoid). More... | |
int | GetEPSGCode (bool noSearch=false) const |
Finds the EPSG code for this coordinate system. More... | |
int | GetEPSGDatumCode (bool noSearch=false) const |
Finds the EPSG code for the datum used by this coordinate system. More... | |
int | GetEPSGEllipsoidCode (bool noSearch=false) const |
Finds the EPSG code for the ellipsoid used by this coordinate system. More... | |
ReprojectStatus | CartesianFromLatLong (DPoint3dR outCartesian, GeoPointCR inLatLong) const |
Calculates the cartesian coordinates of the input Longitude/Latitude/Elevation point. More... | |
ReprojectStatus | CartesianFromLatLong2D (DPoint2dR outCartesian, GeoPoint2dCR inLatLong) const |
Calculates the cartesian x and y of the input Longitude/Latitude point. More... | |
ReprojectStatus | LatLongFromCartesian (GeoPointR outLatLong, DPoint3dCR inCartesian) const |
Calculates the longitude, latitude, and elevation from cartesian x,y, and z. More... | |
ReprojectStatus | LatLongFromCartesian2D (GeoPoint2dR outLatLong, DPoint2dCR inCartesian) const |
Calculates the longitude and latitude from cartesian x and y. More... | |
double | UnitsFromMeters () const |
Returns the scale factor needed to convert to the units of the coordinate system from meters by multiplication. More... | |
RangeTestResult | CheckGeoPointRange (GeoPointCR points, int numPoints) const |
Determines whether the input GeoPoints are within the useful range of the coordinate system. More... | |
RangeTestResult | CheckCartesianRange (DPoint3dCR points, int numPoints) const |
Determines whether the input GeoPoints are within the useful range of the coordinate system. More... | |
bool | SetReprojectElevation (bool value) |
Sets whether reprojections from this coordinate system sadjust elevations. More... | |
bool | GetReprojectElevation () const |
Gets whether reprojections from this coordinate system adjust elevations. More... | |
ReprojectStatus | LatLongFromLatLong (GeoPointR outLatLong, GeoPointCR inLatLong, BaseGCSCR destGCS) const |
Calculates the longitude and latitude in the destination GCS, applying the appropriate datum shift. More... | |
ReprojectStatus | LatLongFromLatLong2D (GeoPoint2dR outLatLong, GeoPoint2dCR inLatLong, BaseGCSCR destGCS) const |
Calculates the longitude and latitude in the destination GCS, applying the appropriate datum shift. More... | |
ReprojectStatus | LatLongFromXYZ (GeoPointR outLatLong, DPoint3dCR inXYZ) const |
Calculates the longitude and latitude from ECEF coordinate. More... | |
ReprojectStatus | XYZFromLatLong (DPoint3dR outXYZ, GeoPointCR inLatLong) const |
Calculates the XYZ (ECEF) coordinates from the longitude, latitude and elevation. More... | |
![]() | |
void * | operator new (size_t size) |
void | operator delete (void *rawMemory, size_t size) |
UInt32 | AddRef () const |
UInt32 | Release () const |
RefCounted () | |
RefCounted (RefCounted const &rhs) | |
RefCounted & | operator= (RefCounted const &rhs) |
UInt32 | GetRefCount () const |
Static Public Member Functions | |
static BaseGCSPtr | CreateGCS () |
Returns an empty BaseGCSPtr. More... | |
static BaseGCSPtr | CreateGCS (WCharCP coordinateSystemKeyName) |
Initializes a BaseGCS by looking for the specified key name in the Coordinate System Library. More... | |
static BaseGCSPtr | CreateGCS (BaseGCSCR baseGcs) |
Returns a copy of the object. More... | |
static WCharCP | GetErrorMessage (WStringR errorMsg, StatusInt errorCode) |
Gets the error message associated with the error code. More... | |
static T_WStringVector * | GetLinearUnitNames () |
Gets the available Linear Units. More... | |
static T_WStringVector * | GetUnitNames () |
Gets all available Units, linear and degree-based. More... | |
static T_WStringVector * | GetDatumNames () |
Gets the available Datum Names. More... | |
static T_WStringVector * | GetEllipsoidNames () |
Gets the available Ellipsoid Names. More... | |
static double | RadiansFromDegrees (double inDegrees) |
Converts from Degrees to Radians. More... | |
static double | DegreesFromRadians (double inRadians) |
Converts from Radians to Degrees. More... | |
Additional Inherited Members | |
![]() | |
virtual | ~RefCounted () |
![]() | |
virtual | ~IRefCounted () |
void * | operator new (size_t size) |
void | operator delete (void *rawMemory, size_t size) |
Geographic Coordinate System class.
The BaseGCS class allows the conversion of Coordinates in Geographic Latitude/Longitude/Elevation to and from a Cartesian coordinate system in x, y, and z. The units of the Cartesian coordinates are determined by the units of the projection. Those units are usually a linear measure, but can be Degrees if the coordinate system is a "Unity" coordinate system in CSMap terms.
This class is reference counted. Users should use the usual reference counting semantics - if a pointer is retained, call the AddRef() method. When the reference is no longer needed, call the Release() method. Application code should never call the "delete" operator on an instance of BaseGCS. The BaseGCSPtr type is a smart pointer that makes following those rules easy.
The BaseGCS class provides methods for converting from Longitude/Latitude/Elevation to x, y, and z in the units of the coordinate system. When an input point is in latitude/longitude/elevation, the longitude in decimal degrees is the x component of the DPoint3d, the latitude is the y component, and the elevation is the z component.
There is also a method for converting from Longitude/Latitude/Elevation in one BaseGCS to Long/Latitude/Elevation in a destination coordinate system. This does the datum conversion that is necessary when the two GCS's utilize different datum.
enum ProjectionCodeValue |
enum RangeTestResult |
enum WktFlavor |
bool CanSaveToGeoTiffKeys | ( | ) | const |
Reveals whether the coordinate system can be saved to GeoTiffKeys.
ReprojectStatus CartesianFromLatLong | ( | DPoint3dR | outCartesian, |
GeoPointCR | inLatLong | ||
) | const |
Calculates the cartesian coordinates of the input Longitude/Latitude/Elevation point.
outCartesian | OUT The calculated cartesian coordinates. |
inLatLong | IN The longitude,latitude,elevation in the datum of this GCS. |
ReprojectStatus CartesianFromLatLong2D | ( | DPoint2dR | outCartesian, |
GeoPoint2dCR | inLatLong | ||
) | const |
Calculates the cartesian x and y of the input Longitude/Latitude point.
The input elevation is ignored.
outCartesian | OUT The calculated cartesian coordinates. |
inLatLong | IN The longitude,latitude,elevation in the datum of this GCS. |
RangeTestResult CheckCartesianRange | ( | DPoint3dCR | points, |
int | numPoints | ||
) | const |
Determines whether the input GeoPoints are within the useful range of the coordinate system.
points | IN The points to test. |
numPoints | IN Number of points to test. |
RangeTestResult CheckGeoPointRange | ( | GeoPointCR | points, |
int | numPoints | ||
) | const |
Determines whether the input GeoPoints are within the useful range of the coordinate system.
points | IN The points to test. |
numPoints | IN Number of points to test. |
bool Compare | ( | BaseGCSCR | compareTo, |
bool & | datumDifferent, | ||
bool & | csDifferent, | ||
bool & | verticalDatumDifferent, | ||
bool & | localTransformDifferent, | ||
bool | stopFirstDifference | ||
) | const |
Compares this coordinate system with the argument and returns true if they have equivalent projection, parameters, datum, and ellipsoid.
[in] | compareTo | The BaseGCS to compare to. |
[out] | datumDifferent | true if the datum is different. |
[out] | csDifferent | true if the coordinate system projection is different. |
[out] | verticalDatumDifferent | true if the vertical datum is different. |
[out] | localTransformDifferent | true if the local transform is different. |
[in] | stopFirstDifference | If true, the comparison stops when the first difference is encountered. Only one of datumDifferent, csDifferent, and modifiersDifferent will be set. |
|
static |
Returns an empty BaseGCSPtr.
This factory method is designed to be used in conjunction with the initialization methods such as the InitAzimuthalEqualArea method.
|
static |
Initializes a BaseGCS by looking for the specified key name in the Coordinate System Library.
If the coordinate system specified is found, then the IsValid method returns true. Otherwise the GetError method returns the CS_MAP error code.
coordinateSystemKeyName | IN The key name of the coordinate system. |
|
static |
Returns a copy of the object.
bool DatumParametersValid | ( | bool & | deltaValid, |
bool & | rotationValid, | ||
bool & | scaleValid | ||
) | const |
Returns whether the delta, rotation, and scale parameters are valid for the Datum of this GCS.
deltaValid | OUT Returns true if the datum is valid and its WGS84ConvertCode indicates that the delta parameters are used. |
rotationValid | OUT Returns true if the datum is valid and its WGS84ConvertCode indicates that the rotation parameters are used. |
scaleValid | OUT Returns true if the datum is valid and its WGS84ConvertCode indicates that the scale parameter is used. |
StatusInt DefinitionComplete | ( | ) |
Signals that the caller has finished setting the coordinate system parameters, and that the coordinate system internal definition should be initialized with the current parameter set.
|
static |
Converts from Radians to Degrees.
inRadians | IN Angular value in radians. |
double GetAffineA0 | ( | ) | const |
Gets the A0 Affine post-processing parameter for Projections that have one.
double GetAffineA1 | ( | ) | const |
Gets the A1 Affine post-processing parameter for Projections that have one.
double GetAffineA2 | ( | ) | const |
Gets the A2 Affine post-processing parameter for Projections that have one.
double GetAffineB0 | ( | ) | const |
Gets the B0 Affine post-processing parameter for Projections that have one.
double GetAffineB1 | ( | ) | const |
Gets the B1 Affine post-processing parameter for Projections that have one.
double GetAffineB2 | ( | ) | const |
Gets the B2 Affine post-processing parameter for Projections that have one.
void GetAffineParameters | ( | double * | A0, |
double * | A1, | ||
double * | A2, | ||
double * | B0, | ||
double * | B1, | ||
double * | B2 | ||
) | const |
Gets the affine parameters for the affine post-processing portion of Transverse Mercator with post affine or Lambert Conformal Conic with post affine projections.
A0 | OUT The X translation of the affine transformation |
A1 | OUT The A1 parameter of the rotation/scale/shearing portion of the affine. |
A2 | OUT The A2 parameter of the rotation/scale/shearing portion of the affine. |
B0 | OUT The Y translation of the affine transformation |
B1 | OUT The B1 parameter of the rotation/scale/shearing portion of the affine. |
B2 | OUT The B2 parameter of the rotation/scale/shearing portion of the affine. |
double GetAzimuth | ( | ) | const |
Gets the azimuth angle for Projections that have one.
Gets the latitude and longitude of a "center" point in the coordinate system.
This might be the origin of longitude/origin of latitude, or perhaps the central meridian and latitude of latitude, depending on the projection in use.
centerPoint | OUT The center point. |
double GetCentralMeridian | ( | ) | const |
Gets the central meridian (in degrees) for Projections that have one.
double GetCentralPointLatitude | ( | ) | const |
Gets the central point latitude (in degrees) for Projections that have one.
double GetCentralPointLongitude | ( | ) | const |
Gets the central point longitude (in degrees) for Projections that have one.
Gets the COMPD_CS Well Known Text string from a coordinate system definition.
This compound coordinate system is composed of a PROJCS or GEOCS section followed by a VERT_CS section that contains the definition of the vertical datum used.
wellKnownText | Out The Well Known Text specifying the coordinate system. |
wktFlavor | IN The WKT Flavor desired. If not known, use wktFlavorUnknown |
double GetConvergenceAngle | ( | GeoPointCR | point | ) | const |
Gets the convergence angle, in degrees, of the coordinate system at the specified longitude/latitude.
point | IN The point at which the convergence angle is to be computed. |
int GetDanishSys34Region | ( | ) | const |
Gets the Danish System 34 Region for Danish Sys 34 Projections.
int GetDatumCode | ( | ) | const |
WGS84ConvertCode GetDatumConvertMethod | ( | ) | const |
void GetDatumDelta | ( | DPoint3dR | delta | ) | const |
WCharCP GetDatumDescription | ( | ) | const |
WCharCP GetDatumName | ( | ) | const |
|
static |
Gets the available Datum Names.
void GetDatumRotation | ( | DPoint3dR | rotation | ) | const |
Gets the angles from the WGS84 x, y, and z axes to those of the Datum of this GCS.
rotation | OUT The rotation angles. |
double GetDatumScale | ( | ) | const |
Gets the datum transformation scaling in parts per million of the Datum of this GCS, if known.
WCharCP GetDescription | ( | ) | const |
Gets the description of the Coordinate System.
StatusInt GetDistance | ( | double * | distance, |
double * | azimuth, | ||
GeoPointCR | startPoint, | ||
GeoPointCR | endPoint | ||
) | const |
Computes distance (in the units of this GCS) and starting azimuthal angle (in degrees) from one geographic point to another.
distance | OUT The distance, in units of this GCS, from startPoint to endPoint. |
azimuth | OUT The initial azimuth, in degrees clockwise from true north, needed to get from startPoint to endPoint. |
startPoint | IN The starting point. |
endPoint | IN The end point. |
double GetEasternMeridian | ( | ) | const |
Gets the eastern meridian (in degrees) for Projections that have one.
double GetElevationAboveGeoid | ( | ) | const |
Gets the elevation above the geoid, in CS units, for Projections that use that parameter.
int GetEllipsoidCode | ( | ) | const |
WCharCP GetEllipsoidDescription | ( | ) | const |
double GetEllipsoidEccentricity | ( | ) | const |
double GetEllipsoidEquatorialRadius | ( | ) | const |
WCharCP GetEllipsoidName | ( | ) | const |
|
static |
Gets the available Ellipsoid Names.
double GetEllipsoidPolarRadius | ( | ) | const |
Gets the polar radius of the Coordinate System.
double GetEllipsoidScaleFactor | ( | ) | const |
Gets the ellipsoid scale factor, used by Lambert Conformal Conic Michigan variation.
int GetEPSGCode | ( | bool | noSearch = false | ) | const |
Finds the EPSG code for this coordinate system.
int GetEPSGDatumCode | ( | bool | noSearch = false | ) | const |
Finds the EPSG code for the datum used by this coordinate system.
int GetEPSGEllipsoidCode | ( | bool | noSearch = false | ) | const |
Finds the EPSG code for the ellipsoid used by this coordinate system.
int GetEPSGUnitCode | ( | ) | const |
Finds the EPSG code for the unit used by this coordinate system.
int GetError | ( | ) | const |
Gets the error code associated with constructor failure if IsValid is false.
Gets the error message associated with constructor failure if IsValid is false.
Gets the error message associated with the error code.
double GetFalseEasting | ( | ) | const |
Gets the false easting of the Coordinate System.
double GetFalseNorthing | ( | ) | const |
Gets the false northing of the Coordinate System.
double GetGeoidSeparation | ( | ) | const |
Gets the geoid separation, in CS units, for Projections that use that parameter.
double GetGridScale | ( | GeoPointCR | point | ) | const |
Gets the grid scale of the coordinate system at the specified longitude/latitude.
point | IN The point at which the grid scale is to be computed. |
int GetHemisphere | ( | ) | const |
Gets the Hemisphere (1 for north or -1 for south) for the Univeral Transverse Mercator projection.
|
static |
Gets the available Linear Units.
double GetMaximumLatitude | ( | ) | const |
Gets the maximum latitude for the Geographic Coordinate System.
double GetMaximumLongitude | ( | ) | const |
Gets the maximum longitude for the Geographic Coordinate System.
double GetMaximumUsefulLatitude | ( | ) | const |
Gets the maximum useful latitude for the Geographic coordinate system.
double GetMaximumUsefulLongitude | ( | ) | const |
Gets the maximum useful longitude for the Geographic Coordinate System.
double GetMinimumLatitude | ( | ) | const |
Gets the minimum latitude for the Geographic Coordinate System.
double GetMinimumLongitude | ( | ) | const |
Gets the minimum longitude for the Geographic Coordinate System.
double GetMinimumUsefulLatitude | ( | ) | const |
Gets the minimum useful latitude for the Geographic Coordinate System.
double GetMinimumUsefulLongitude | ( | ) | const |
Gets the minimum useful longitude for the Geographic Coordinate System.
WCharCP GetName | ( | ) | const |
Gets the name of the Coordinate System.
double GetOriginLatitude | ( | ) | const |
Gets the origin latitude of the Coordinate System.
double GetOriginLongitude | ( | ) | const |
Gets the origin longitude of the Coordinate System.
double GetPoint1Latitude | ( | ) | const |
Gets the latitude of the first point of the central geodesic (in degrees) for Projections that have one.
double GetPoint1Longitude | ( | ) | const |
Gets the longitude of the first point of the central geodesic (in degrees) for Projections that have one.
double GetPoint2Latitude | ( | ) | const |
Gets the latitude of the second point of the central geodesic (in degrees) for Projections that have one.
double GetPoint2Longitude | ( | ) | const |
Gets the longitude of the second point of the central geodesic (in degrees) for Projections that have one.
WCharCP GetProjection | ( | ) | const |
Gets the name of the projection used by the Coordinate System.
ProjectionCodeValue GetProjectionCode | ( | ) | const |
Gets CS_Map projection code of the Coordinate System.
int GetQuadrant | ( | ) | const |
Gets the Quadrant for Projections that use that parameter.
bool GetReprojectElevation | ( | ) | const |
Gets whether reprojections from this coordinate system adjust elevations.
double GetScaleAlongMeridian | ( | GeoPointCR | point | ) | const |
Gets the grid scale along a meridian of the coordinate system at the specified longitude/latitude.
point | IN The point at which the grid scale is to be computed. |
double GetScaleAlongParallel | ( | GeoPointCR | point | ) | const |
Gets the grid scale along a parallel of the coordinate system at the specified longitude/latitude.
point | IN The point at which the grid scale is to be computed. |
double GetScaleReduction | ( | ) | const |
Gets the scale reduction of the Coordinate System.
Gets the source of the Coordinate System.
double GetStandardParallel1 | ( | ) | const |
Gets the first standard parallel for Projections that have one.
double GetStandardParallel2 | ( | ) | const |
Gets the first standard parallel for Projections that have one.
int GetUnitCode | ( | ) | const |
Gets the internal index for the Coordinate System units.
|
static |
Gets all available Units, linear and degree-based.
Gets the name of the Coordinate System units.
int GetUTMZone | ( | ) | const |
Gets the UTM Zone number (1-60) for the Univeral Transverse Mercator projection.
VertDatumCode GetVerticalDatumCode | ( | ) | const |
Gets the Vertical Datum Code.
In only a few instances, the Vertical Datum can be set separately from the Datum. Currently, when the Datum of this GCS is either NAD83 or NAD27, the Vertical Datum can be set to either NAVD88 or NGVD29 independently of the Datum.
WCharCP GetVerticalDatumName | ( | ) | const |
Gets the name of the Coordinate System Vertical Datum.
In only a few instances, the Vertical Datum can be set separately from the Datum. Currently, when the Datum of this GCS is either NAD83 or NAD27, the Vertical Datum can be set to either NAVD88 or NGVD29 independently of the Datum. If the Datum of this GCS is not NAD83 or NAD27, then this method returns the same thing as GetDatumName.
Gets the Well Known Text string from a coordinate system definition.
wellKnownText | Out The Well Known Text specifying the coordinate system. |
wktFlavor | IN The WKT Flavor desired. If not known, use wktFlavorUnknown |
bool HasEquivalentDatum | ( | BaseGCSCR | compareTo | ) | const |
StatusInt InitAzimuthalEqualArea | ( | WStringP | errorMsg, |
WCharCP | datumName, | ||
WCharCP | unitName, | ||
double | originLongitude, | ||
double | originLatitude, | ||
double | azimuthAngle, | ||
double | scale, | ||
double | falseEasting, | ||
double | falseNorthing, | ||
int | quadrant | ||
) |
Used in conjunction with the no-argument contructor to set the BaseGCS to an Azimuthal Equal Area projection.
Such a projection is the mathematical equivalent of placing a flat sheet of paper on the surface of the area at originLongitude, originLatitude, projecting the earth's surface onto that paper, and then adding the "falseEasting", "falseNorthing" values to yield cartesian coordinates.
errorMsg | OUT if non-NULL, the WString is filled in with the CS_MAP error message when an error occurs. |
datumName | IN The name of the datum used in the GCS, such as "WGS84". |
unitName | IN The name of the linear unit for the Cartesian coordinates, such as "METER". |
originLongitude | IN The longitude of the tangency point. |
originLatitude | IN The latitude of the tangency point. |
azimuthAngle | IN The angle, clockwise from true north in decimal degrees, of the rotation to be applied. |
scale | IN This argument is ignored. The scale is always 1.0. |
falseEasting | IN The value to add to each Cartesian X value. |
falseNorthing | IN The value to add to each Cartesian Y value. |
quadrant | IN Quadrant for the cartesian coordinate system. If north is up and east is right, pass 0. |
Used in conjunction with the CreateGCS factory method to set the BaseGCS from an EPSG coordinate system code.
The valid EPSG code ranges are from 20000 through 32767 for projected coordinate systems and 4000 through 4199 for geographic (Lat/long) coordinate systems.
warning | OUT if non-NULL, this might reveal a warning even if the return value is SUCCESS. |
warningErrorMsg | OUT if non-NULL, the WString is filled in with the CS_MAP warning or error message. |
epsgCode | IN The EPSG code for the desired coordinate system. |
StatusInt InitFromGeoTiffKeys | ( | StatusInt * | warning, |
WStringP | warningErrorMsg, | ||
::IGeoTiffKeysList * | geoTiffKeys | ||
) |
Used in conjunction with the CreateGCS factory method to set the BaseGCS from a set of GeoTiff Keys.
warning | OUT if non-NULL, this might reveal a warning even if the return value is SUCCESS. |
warningErrorMsg | OUT if non-NULL, the WString is filled in with the CS_MAP warning or error message. |
geoTiffKeys | IN an object implementing the IGeoTiffKeysList interface. |
StatusInt InitFromWellKnownText | ( | StatusInt * | warning, |
WStringP | warningErrorMsg, | ||
WktFlavor | wktFlavor, | ||
WCharCP | wellKnownText | ||
) |
Used in conjunction with the CreateGCS factory method to set the BaseGCS from a "well known text" string.
warning | OUT if non-NULL, this might reveal a warning even if the return value is SUCCESS. |
warningErrorMsg | OUT if non-NULL, the WString is filled in with the CS_MAP warning or error message. |
wktFlavor | IN The WKT Flavor. If not known, use wktFlavorUnknown. |
wellKnownText | IN The Well Known Text specifying the coordinate system. |
StatusInt InitLatLong | ( | WStringP | errorMsg, |
WCharCP | datumName, | ||
WCharCP | ellipsoidName, | ||
WCharCP | unitName, | ||
double | originLongitude, | ||
double | originLatitude | ||
) |
Used in conjunction with the no-argument contructor to set the BaseGCS to give cartesian angular values.
This is often useful for applying datum shifts when you have Longitude Latitude values in one datum and you need then in a different datum.
errorMsg | OUT if non-NULL, the WString is filled in with the CS_MAP error message when an error occurs. |
datumName | IN The name of the datum used in the GCS, such as "WGS84". |
ellipsoidName | IN The name of the ellipsoid used in the GCS, such as "WGS84". This is used only if the datumName is NULL. |
unitName | IN The name of the linear unit for the Cartesian coordinates, such as "METER". |
originLongitude | IN Allows displacement of the longitude values if a different origin is desired - usually 0.0. |
originLatitude | IN Allows displacement of the latitude values if a different origin is desired - usually 0.0. |
bool IsEquivalent | ( | BaseGCSCR | compareTo | ) | const |
Compares this coordinate system with the argument and returns true if they have equivalent projection, parameters, datum, ellipsoid, and modifiers.
compareTo | IN The BaseGCS to compare to. |
bool IsStandard | ( | ) | const |
Returns whether the Coordinate System is a standard coordinate system or not.
bool IsValid | ( | ) | const |
Returns whether the Coordinate System is valid or not.
ReprojectStatus LatLongFromCartesian | ( | GeoPointR | outLatLong, |
DPoint3dCR | inCartesian | ||
) | const |
Calculates the longitude, latitude, and elevation from cartesian x,y, and z.
outLatLong | OUT The calculated longitude,latitude,elevation in the datum of this GCS. |
inCartesian | IN The input cartesian coordinates. |
ReprojectStatus LatLongFromCartesian2D | ( | GeoPoint2dR | outLatLong, |
DPoint2dCR | inCartesian | ||
) | const |
Calculates the longitude and latitude from cartesian x and y.
Elevation is unchanged.
outLatLong | OUT The calculated longitude and latitude in the datum of this GCS. |
inCartesian | IN The input cartesian coordinates. |
ReprojectStatus LatLongFromLatLong | ( | GeoPointR | outLatLong, |
GeoPointCR | inLatLong, | ||
BaseGCSCR | destGCS | ||
) | const |
Calculates the longitude and latitude in the destination GCS, applying the appropriate datum shift.
outLatLong | OUT The calculated longitude,latitude,elevation in the datum of destGCS. |
inLatLong | IN The longitude,latitude,elevation in the datum of this GCS. |
destGCS | IN The Coordinate System corresponding to outLatLong. |
ReprojectStatus LatLongFromLatLong2D | ( | GeoPoint2dR | outLatLong, |
GeoPoint2dCR | inLatLong, | ||
BaseGCSCR | destGCS | ||
) | const |
Calculates the longitude and latitude in the destination GCS, applying the appropriate datum shift.
outLatLong | OUT The calculated longitude,latitude in the datum of destGCS. |
inLatLong | IN The longitude,latitude in the datum of this GCS. |
destGCS | IN The Coordinate System corresponding to outLatLong. |
ReprojectStatus LatLongFromXYZ | ( | GeoPointR | outLatLong, |
DPoint3dCR | inXYZ | ||
) | const |
Calculates the longitude and latitude from ECEF coordinate.
outLatLong | OUT The calculated longitude,latitude,elevation. |
inXYZ | IN The XYZ (ECEF) coordinates of this GCS. |
|
static |
Converts from Degrees to Radians.
inDegrees | IN Angular value in degrees. |
StatusInt SetAffineA0 | ( | double | value | ) |
Sets the A0 Affine post-processing parameter for Projections that have one.
StatusInt SetAffineA1 | ( | double | value | ) |
Sets the A1 Affine post-processing parameter for Projections that have one.
StatusInt SetAffineA2 | ( | double | value | ) |
Sets the A2 Affine post-processing parameter for Projections that have one.
StatusInt SetAffineB0 | ( | double | value | ) |
Sets the B0 Affine post-processing parameter for Projections that have one.
StatusInt SetAffineB1 | ( | double | value | ) |
Sets the B1 Affine post-processing parameter for Projections that have one.
StatusInt SetAffineB2 | ( | double | value | ) |
Sets the B2 Affine post-processing parameter for Projections that have one.
StatusInt SetAffineParameters | ( | double | A0, |
double | A1, | ||
double | A2, | ||
double | B0, | ||
double | B1, | ||
double | B2 | ||
) |
Sets the affine parameters for the affine post-processing portion of Transverse Mercator with post affine or Lambert Conformal Conic with post affine projections.
The transformation must be valid. In order to be valid, the determinant of the matrix formed by parameters A1 A2 and B1 B2 must be different than 0.0. To express no rotation, scale nor shearing, set A1 and B2 equal to 1.0 and A2 and B1 equal to 0.0.
A0 | IN The X translation of the affine transformation |
A1 | IN The A1 parameter of the rotation/scale/shearing portion of the affine. |
A2 | IN The A2 parameter of the rotation/scale/shearing portion of the affine. |
B0 | IN The Y translation of the affine transformation |
B1 | IN The B1 parameter of the rotation/scale/shearing portion of the affine. |
B2 | IN The B2 parameter of the rotation/scale/shearing portion of the affine. |
StatusInt SetAzimuth | ( | double | value | ) |
Sets the azimuth angle for Projections that have one.
StatusInt SetCentralMeridian | ( | double | value | ) |
Sets the central meridian (in degrees) for Projections that have one.
StatusInt SetCentralPointLatitude | ( | double | value | ) |
Sets the central point latitude (in degrees) for Projections that have one.
StatusInt SetCentralPointLongitude | ( | double | value | ) |
Sets the central point longitude (in degrees) for Projections that have one.
StatusInt SetDanishSys34Region | ( | int | value | ) |
Sets the Danish System 34 Region for Danish Sys 34 Projections.
StatusInt SetDatumCode | ( | int | datumCode | ) |
Sets the description of the Coordinate System.
StatusInt SetEasternMeridian | ( | double | value | ) |
Sets the central meridian (in degrees) for Projections that have one.
StatusInt SetElevationAboveGeoid | ( | double | value | ) |
Sets the elevation above the geoid, in CS units, for Projections that have one.
StatusInt SetEllipsoidCode | ( | int | ellipsoidCode | ) |
StatusInt SetEllipsoidScaleFactor | ( | double | value | ) |
Sets the ellisoid scale factor for a Lambert Conformal Conic Michigan variation.
The value given must be reasonnably close to 1.0.
StatusInt SetFalseEasting | ( | double | value | ) |
Sets the false easting of the Coordinate System.
StatusInt SetFalseNorthing | ( | double | value | ) |
Sets the false northing of the Coordinate System.
StatusInt SetGeoidSeparation | ( | double | value | ) |
Sets the geoid separation, in CS units, for Projections that have one.
StatusInt SetGeoTiffKeys | ( | ::IGeoTiffKeysList * | geoTiffKeys | ) | const |
Saves the coordinate system to GeoTiffKeys, if possible.
set of GeoTiff Keys.
geoTiffKeys | IN an object implementing the IGeoTiffKeysList interface. |
StatusInt SetHemisphere | ( | int | value | ) |
Sets the Hemisphere (1 for north or -1 for south) for the Univeral Transverse Mercator projection.
StatusInt SetMaximumLatitude | ( | double | value | ) |
Sets the maximum latitude for the Geographic Coordinate System.
StatusInt SetMaximumLongitude | ( | double | value | ) |
Sets the maximum longitude for the Geographic Coordinate System.
StatusInt SetMinimumLatitude | ( | double | value | ) |
Sets the minimum latitude for the Geographic Coordinate System.
StatusInt SetMinimumLongitude | ( | double | value | ) |
Sets the minimum longitude for the Geographic Coordinate System.
Sets the name of the Coordinate System.
StatusInt SetOriginLatitude | ( | double | value | ) |
Sets the origin latitude of the Coordinate System.
StatusInt SetOriginLongitude | ( | double | value | ) |
Sets the origin longitude of the Coordinate System.
StatusInt SetPoint1Latitude | ( | double | value | ) |
Sets the latitude of the first point of the central geodesic (in degrees) for Projections that have one.
StatusInt SetPoint1Longitude | ( | double | value | ) |
Sets the longitude of the first point of the central geodesic (in degrees) for Projections that have one.
StatusInt SetPoint2Latitude | ( | double | value | ) |
Sets the latitude of the second point of the central geodesic (in degrees) for Projections that have one.
StatusInt SetPoint2Longitude | ( | double | value | ) |
Sets the longitude of the second point of the central geodesic (in degrees) for Projections that have one.
StatusInt SetProjectionCode | ( | ProjectionCodeValue | projectionCode | ) |
Sets CS_Map projection code of the Coordinate System.
StatusInt SetQuadrant | ( | short | value | ) |
Sets the Quadrant for Projections that use that parameter.
bool SetReprojectElevation | ( | bool | value | ) |
Sets whether reprojections from this coordinate system sadjust elevations.
StatusInt SetScaleReduction | ( | double | value | ) |
Sets the Scale Reduction of the Coordinate System.
Sets the source of the Coordinate System.
StatusInt SetStandardParallel1 | ( | double | value | ) |
Sets the first standard parallel for Projections that have one.
StatusInt SetStandardParallel2 | ( | double | value | ) |
Sets the second standard parallel for Projections that have one.
StatusInt SetUnitCode | ( | int | code | ) |
Sets the Units to those indicated by the unit code.
The unit code must come from either GetUnitCode or an index into the array returned by GetUnitNames.
StatusInt SetUTMZone | ( | int | value | ) |
Sets the UTM Zone number (1-60) for the Universal Transverse Mercator projections.
StatusInt SetVerticalDatumCode | ( | VertDatumCode | ) |
double UnitsFromMeters | ( | ) | const |
Returns the scale factor needed to convert to the units of the coordinate system from meters by multiplication.
bool Validate | ( | T_WStringVector & | errorList | ) | const |
Tests the coordinate system definition for validity.
errorList | OUT A list of validation errors generated by CSMap. |
ReprojectStatus XYZFromLatLong | ( | DPoint3dR | outXYZ, |
GeoPointCR | inLatLong | ||
) | const |
Calculates the XYZ (ECEF) coordinates from the longitude, latitude and elevation.
outXYZ | OUT The calculated XYZ (ECEF) coordinates. |
inLatLong | IN The latitude, longitude and elevation to convert |