StringPointTranslator Class

Inherits from

GEOCALCPBW_NAMESPACE::GeoBase

 

Description

The StringPointTranslator class represents a method of transforming a String representation of a location to a standard GeodeticPoint. The various types of translators supported in GeoCalc are outlined in the ClassType enumeration. The StringPointTranslator is associated with a StringCoordSys, in order to manipulate data that may be in one of these standard string formats.

The BlueMarble geodata.xml DataSource includes StringCoordSys objects that may be used to perform the standard conversions (MGRS, etc), and thus users are not expected to need to create custom StringCoordSys or StringPointTranslator objects for this purpose.

 

Public Enumerations

Enum

Description

ClassType

Contains elements that correspond to the various types of projections

 

Public Constructors

Constructor

Description

StringPointTranslator

Creates a new instance of a StringPointTranslator

 

Public Methods

Method

Description

get_Class

Indicates the type of this StringPointTranslator, according to the ClassType enumeration

get_Parameters

Gets the Parameters of this StringPointTranslator

get_Datum

Gets the Datum of this StringPointTranslator

set_Datum

Sets the Datum of this StringPointTranslator

ToGeodeticPoint

A method to convert a StringPoint to a GeodeticPoint

FromGeodeticPoint

A method to convert a GeodeticPoint to a StringPoint

GetStringPointTranslatorString

Returns the specified Class String of this StringPointTranslator

GetStringPointTranslatorTypeFromString

Gets the Class String of this StringPointTranslator from the String

 

Overloaded Operators

Operator

Description

operator=

Assigns a new value to this StringPointTranslator

operator==

Compares the value of two StringPointTranslator

operator!=

Compares the value of two StringPointTranslator