Click or drag to resize

EllipsoidGeodesic Constructor (Ellipsoid, Cartographic, Cartographic)

Initializes a geodesic on the ellipsoid connecting the two provided planetodetic points.

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,
	Cartographic final
)

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.
final
Type: AGI.Foundation.CoordinatesCartographic
The final planetodetic point on the path. The FinalPoint will be on the ellipsoid surface at this location.
Exceptions
ExceptionCondition
ArgumentNullException Thrown when the parameter ellipsoid is null.
ArgumentException Thrown when there is no unique geodesic curve connecting the initial and final points. This usually occurs when the two points are in opposition.
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 longitude of the initial point is used to determine the meridian on which the geodesic lies. If the final point lies at a pole, the FinalHeading and longitude of the FinalPoint of the geodesic will be consistent with the rest of the points on the geodesic curve.
See Also