Converts the specified position values from a given position type to another position type.
| [Visual Basic .NET] |
|---|
Public Function ConvertPositionArray( _ ByVal PositionType As AgEPositionType, _ ByRef PositionArray As System.Array, _ ByVal ConvertTo As AgEPositionType _ ) As System.Array |
| [C#] |
|---|
public System.Array ConvertPositionArray( |
| [Managed C++] |
|---|
public: System::Array ConvertPositionArray( |
| [Java] |
|---|
public Object[] convertPositionArray( |
| [Unmanaged C++] |
|---|
public: HRESULT ConvertPositionArray( |
- PositionType
Member Value Description eCartesian 0 Cartesian: position specified in terms of the X, Y and Z components of the object's position vector, where the Z-axis points to the North pole, and the X-axis crosses 0 degrees latitude/0 degrees longitude. eCylindrical 1 Cylindrical: position specified in terms of radius (polar), longitude (measured in degrees from -360.0 degrees to +360.0 degrees), and the Z component of the object's position vector. eGeocentric 2 Geocentric: position specified in terms of latitude (spherical latitude of the sub-point on the surface of the Earth), longitude and altitude. eGeodetic 3 Geodetic: position specified in terms of latitude (angle between the normal to the reference ellipsoid and the equatorial plane), longitude and altitude. eSpherical 4 Spherical: position specified in terms of latitude (spherical latitude of the sub-point on the surface of the Earth), longitude and radius (distance of the object from the center of the Earth). ePlanetocentric 5 Planetocentric: position specified in terms of latitude (spherical latitude of the sub-point on the surface of the Earth), longitude and altitude. ePlanetodetic 6 Planetodetic: position specified in terms of latitude (angle between the normal to the reference ellipsoid and the equatorial plane), longitude and altitude. - PositionArray
- ConvertTo
Member Value Description eCartesian 0 Cartesian: position specified in terms of the X, Y and Z components of the object's position vector, where the Z-axis points to the North pole, and the X-axis crosses 0 degrees latitude/0 degrees longitude. eCylindrical 1 Cylindrical: position specified in terms of radius (polar), longitude (measured in degrees from -360.0 degrees to +360.0 degrees), and the Z component of the object's position vector. eGeocentric 2 Geocentric: position specified in terms of latitude (spherical latitude of the sub-point on the surface of the Earth), longitude and altitude. eGeodetic 3 Geodetic: position specified in terms of latitude (angle between the normal to the reference ellipsoid and the equatorial plane), longitude and altitude. eSpherical 4 Spherical: position specified in terms of latitude (spherical latitude of the sub-point on the surface of the Earth), longitude and radius (distance of the object from the center of the Earth). ePlanetocentric 5 Planetocentric: position specified in terms of latitude (spherical latitude of the sub-point on the surface of the Earth), longitude and altitude. ePlanetodetic 6 Planetodetic: position specified in terms of latitude (angle between the normal to the reference ellipsoid and the equatorial plane), longitude and altitude.
Convert a position to another representation
| [C#] | Copy Code | |
|---|---|---|
| ||
Convert a position to another representation
| [Visual Basic .NET] | Copy Code | |
|---|---|---|
| ||
