ENCX SDK  5.5.0.370
Public Member Functions | Properties | List of all members
ENCX::GeoPoint Class Reference

A position on the Earth's surface defined by geodetic latitude and longitude. More...

import"encxcom.idl";

Inheritance diagram for ENCX::GeoPoint:
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

A position on the Earth's surface defined by geodetic latitude and longitude.

Properties and methods via IGeoPoint.

Definition at line 3988 of file encxcom.idl.

Member Function Documentation

◆ Copy()

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

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

◆ ParseLatLon()

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

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

◆ ParseMGRS()

HRESULT IGeoPoint::ParseMGRS ( [in] BSTR  newVal)
inherited

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)
inherited

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
getinherited

Get the position as a string using GeoPointFormatter settings.

◆ Lat

DOUBLE IGeoPoint::Lat
getsetinherited

Degrees, positive going north, zero on the equator.

◆ LatLonString

BSTR IGeoPoint::LatLonString
getsetinherited

Comma separated lat and lon.

◆ Lon

DOUBLE IGeoPoint::Lon
getsetinherited

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