Home > Working with SGWorld > CoordServices (ICoordServices6)
The ICoordServices6 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 ITerrain6.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 work for any database.
|
Properties |
|
|
An ICoordinateSystem6 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. |
|
|
Opens a high-level dialog that allows the user to create a coordinate system. |
|
|
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. |
|
|
Moves a 2D-coordinate by a specified west-east and south-north offset. |
|
|
Enables you to define an orientation for a coordinate system and move a 3D-coordinate along it by a specified Forward-Backward, Right-Left and Up-Down offset. |
|
|
Converts a given coordinate from one coordinate system to another. |