Click or drag to resize

EllipsoidGeodesic Constructor (Ellipsoid, Cartographic, Double, Double)

Initializes a geodesic on the ellipsoid starting at the provided point and which has the indicated heading at that point and ends at a point located at the provided distance from the starting point.

Namespace:  AGI.Foundation.Geometry.Shapes
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 24.1.418.0 (24.1.418.0)
Syntax
public EllipsoidGeodesic(
	Ellipsoid ellipsoid,
	Cartographic initial,
	double heading,
	double distance
)

Parameters

ellipsoid
Type: AGI.Foundation.Geometry.ShapesEllipsoid
The ellipsoid on which the geodesic lies.
initial
Type: AGI.Foundation.CoordinatesCartographic
The initial planetodetic point on the path. The InitialPoint will be on the ellipsoid surface at this location.
heading
Type: SystemDouble
The heading at the initial point.
distance
Type: SystemDouble
The distance along the geodesic to the location of the final point.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when the parameter ellipsoid is null.
UnsupportedCaseException The scalene case of a geodesic ellipsoid is not currently modeled and will be in a future release.
Remarks
If the initial point lies at a pole, the sum of the longitude of the initial point and the heading is used to determine the meridian on which the geodesic lies. If the final point determined for the geodesic lies at a pole, the FinalPoint of the geodesic will report longitude and heading consistent with the rest of the points on the geodesic curve.
See Also