ENCX SDK
5.5.0.926
|
Properties and methods for ENCX::GeoPoint. More...
import"encxcom.idl";
Public Member Functions | |
HRESULT | ParseLatLon ([in] BSTR newVal) |
Attempt to parse lat-long string, N|S , E|W, degrees, minutes, seconds. More... | |
HRESULT | Copy ([out, retval] IGeoPoint **pVal) |
Get an identical copy of this object. Like the Clone() method but type safe. More... | |
HRESULT | ParseUTM ([in] BSTR newVal) |
Attempt to parse UTM string in format {central_meridian N|S easting northing} e.g. "W003 N 0601468 5926018". More... | |
HRESULT | ParseMGRS ([in] BSTR newVal) |
Attempt to parse MGRS string in format {zone band grid easting northing} e.g. "30 U XE 01468 26018". More... | |
Properties | |
DOUBLE | Lat [get, set] |
Degrees, positive going north, zero on the equator. More... | |
DOUBLE | Lon [get, set] |
Degrees, positive going east, zero on the Greenwich Meridian. More... | |
BSTR | LatLonString [get, set] |
Comma separated lat and lon. More... | |
BSTR | FormattedPosition [get] |
Get the position as a string using GeoPointFormatter settings. More... | |
Properties and methods for ENCX::GeoPoint.
All positions are WGS84.
Geodetic latitude is the normally used type of latitude, as measured using gravity based instruments. There are other types of latitude such as geocentric (as measured using the stars) but they are not used in ENCX.
Longitude is defined positive going east, with zero on the Greenwich Meridian.
Definition at line 399 of file encxcom.idl.
HRESULT IGeoPoint::Copy | ( | [out, retval] IGeoPoint ** | pVal | ) |
Get an identical copy of this object. Like the Clone() method but type safe.
HRESULT IGeoPoint::ParseLatLon | ( | [in] BSTR | newVal | ) |
Attempt to parse lat-long string, N|S , E|W, degrees, minutes, seconds.
HRESULT IGeoPoint::ParseMGRS | ( | [in] BSTR | newVal | ) |
Attempt to parse MGRS string in format {zone band grid easting northing} e.g. "30 U XE 01468 26018".
HRESULT IGeoPoint::ParseUTM | ( | [in] BSTR | newVal | ) |
Attempt to parse UTM string in format {central_meridian N|S easting northing} e.g. "W003 N 0601468 5926018".
|
get |
Get the position as a string using GeoPointFormatter settings.
|
getset |
Degrees, positive going north, zero on the equator.
|
getset |
Comma separated lat and lon.
|
getset |
Degrees, positive going east, zero on the Greenwich Meridian.