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.3.420.0 (24.3.420.0)
Syntaxpublic EllipsoidGeodesic(
Ellipsoid ellipsoid,
Cartographic initial,
double heading,
double distance
)
Public Sub New (
ellipsoid As Ellipsoid,
initial As Cartographic,
heading As Double,
distance As Double
)
public:
EllipsoidGeodesic(
Ellipsoid^ ellipsoid,
Cartographic initial,
double heading,
double distance
)
new :
ellipsoid : Ellipsoid *
initial : Cartographic *
heading : float *
distance : float -> EllipsoidGeodesic
Parameters
- ellipsoid
- Type: AGI.Foundation.Geometry.Shapes.Ellipsoid
The ellipsoid on which the geodesic lies. - initial
- Type: AGI.Foundation.Coordinates.Cartographic
The initial planetodetic point on the path. The InitialPoint will be on the ellipsoid surface at this location. - heading
- Type: System.Double
The heading at the initial point. - distance
- Type: System.Double
The distance along the geodesic to the location of the final point.
Exceptions
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