EllipsoidSurfacePosition Method |
Computes the location of a second surface point along the geodesic passing through the provided
surface point having the indicated heading at the provided surface point and located at the
specified distance from the provided surface point.
Namespace:
AGI.Foundation.Geometry.Shapes
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.3.420.0 (24.3.420.0)
Syntax public Cartographic SurfacePosition(
Cartographic initial,
double heading,
double distance
)
Public Function SurfacePosition (
initial As Cartographic,
heading As Double,
distance As Double
) As Cartographic
public:
Cartographic SurfacePosition(
Cartographic initial,
double heading,
double distance
)
member SurfacePosition :
initial : Cartographic *
heading : float *
distance : float -> Cartographic
Parameters
- initial
- Type: AGI.Foundation.CoordinatesCartographic
The initial planetodetic surface point. - heading
- Type: SystemDouble
The initial heading. - distance
- Type: SystemDouble
The surface distance separating the two surface points.
Return Value
Type:
CartographicThe planetodetic location of the second surface coordinate.
Exceptions Exception | Condition |
---|
UnsupportedCaseException |
The scalene case of a geodesic ellipsoid is not currently modeled and will be in a future release.
|
Remarks
Since the distance is measured on the surface of the ellipsoid, the height coordinate information is ignored.
See Also