CoordServices (ICoordServices80)
The ICoordServices80 interface provides a set of methods for reprojecting given coordinates between different coordinate systems. Use the SourceCoordinateSystem property to define the coordinate system your application uses. Once a coordinate system has been set by a client, every coordinate used by the client is converted from the source coordinate system used by the client to the terrain coordinate system. You can retrieve the terrain coordinate system with ITerrain80.CoordinateSystem.
TerraExplorer Pro also provides a number of service methods to perform advanced geographic-related tasks like calculating distances and angles between points. These methods are especially useful when working with globe databases, where the units are in degrees, but they work for any database.
|
Properties |
|
|
An ICoordinateSystem80 representing the source’s coordinate system. |
|
|
Methods |
|
|
Opens a high-level dialog that allows the user to select, view, edit, and create a coordinate system. |
|
|
Converts a given coordinate from the coordinate system of the terrain database to Military Grid Reference System coordinates. |
|
|
Converts a given Military Grid Reference System coordinate to the coordinate system of the terrain database. |
|
|
Creates a coordinate system from a Well-Known Text string. |
|
|
Returns the calculated angle between two specified 3D-coordinates. |
|
|
Returns the horizontal distance between two given coordinates. |
|
|
Returns the actual aerial distance between two given points. |
|
|
GetParam |
Reserved. Currently not used. |
|
Moves a 2D-coordinate by a specified west-east and south-north offset. |
|
|
Deprecated. |
|
|
Converts a given coordinate from one coordinate system to another. |
|
|
Converts a given 3D-coordinate from one coordinate system to another. |
|
|
SetParam |
Reserved. Currently not used. |