ENCX SDK  5.5.0.926
Public Member Functions | Properties | List of all members
IGeoPoint Interface Reference

Properties and methods for ENCX::GeoPoint. More...

import"encxcom.idl";

Inheritance diagram for IGeoPoint:
Inheritance graph
[legend]

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...
 

Detailed Description

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.

Member Function Documentation

◆ Copy()

HRESULT IGeoPoint::Copy ( [out, retval] IGeoPoint **  pVal)

Get an identical copy of this object. Like the Clone() method but type safe.

◆ ParseLatLon()

HRESULT IGeoPoint::ParseLatLon ( [in] BSTR  newVal)

Attempt to parse lat-long string, N|S , E|W, degrees, minutes, seconds.

◆ ParseMGRS()

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".

◆ ParseUTM()

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".

Property Documentation

◆ FormattedPosition

BSTR IGeoPoint::FormattedPosition
get

Get the position as a string using GeoPointFormatter settings.

◆ Lat

DOUBLE IGeoPoint::Lat
getset

Degrees, positive going north, zero on the equator.

◆ LatLonString

BSTR IGeoPoint::LatLonString
getset

Comma separated lat and lon.

◆ Lon

DOUBLE IGeoPoint::Lon
getset

Degrees, positive going east, zero on the Greenwich Meridian.