Abstract API examples
Example 2: Change SRF representation of a location from UTM to Celestiocentric
--Note: Labels in italics denote symbolic constants for this example --Function CreateSRFSetMember ( Input: SRFS_UNIVERSAL_TRANSVERSE_MERCATOR, ORM_N_AM_1983_CONUS, ZONE_23_NORTHERN_HEMISPHERE, Output: source_srf) Function CreateCoordinate3D ( Inputs 120, 400, 0, Output: source_coordinate)Function CreateStandardSRF ( Input: SRF_GEOCENTRIC_EARTH_1984, Output: target_srf) srf method ChangeCoordinate3DSRF ( Inputs source_srf, source_coordinate, Output: target_coordinate)
-- use target_coordinate result --
source_coordinate method destroy target_coordinate method destroy source_srf method destroy target_srf method destroy