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.2.419.0 (24.2.419.0)
Syntax public 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.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 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