The ICoordSys interface provides you with coordinate system related features. It allows you to define a coordinate system for your input coordinates, and have TerraExplorer convert them to the coordinate system of the current terrain database. After you set your source coordinate system, every coordinate used from or to this client, is converted to the terrain coordinate system. The interface also provides high-level dialogs that allow you to define the coordinate system, and some service methods.
Four keys, GroupKey, SystemKey, DatumKey and UnitKey, define a coordinate system. When working with ICoordSys to define a coordinate system, use the four keys.
Since each client uses a different coordinate system, you must set the coordinate system for each client you use.
The ICoordSys2 interface, derived from ICoordSys, adds Military Grid Reference System (MGRS) support and updates the ChooseCSDialog method with ChooseCSDialogEx.
Since the coordinate format used by the MGRS coordinate system is unique, specific methods are available.
The ICoordSys3 interface, derived from ICoordSys2, adds advanced distance and angles measurements.
Hierarchy:
ICoordSys |
|
Methods: |
GetTerrainCS, SetTerrainCS, SetSourceCS, ChooseCSDialog, GetCSHandle, GetCSHandleFromEPSG, ReleaseCSHandle, Reproject, GetUnitFactor, MoveCoord, MoveCoordEx, GetDistance, GetAimingAngles |
ICoordSys2 |
|
Methods: |
|
ICoordSys3 |
|
Methods: |