Ellipsoid Constructor (Double, Double, AxisIndicator, Double, Double) |
Initializes an ellipsoid as a spheroid.
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 Ellipsoid(
double equatorialRadius,
double polarRadius,
AxisIndicator polarAxis,
double centerTolerance,
double surfaceTolerance
)
Public Sub New (
equatorialRadius As Double,
polarRadius As Double,
polarAxis As AxisIndicator,
centerTolerance As Double,
surfaceTolerance As Double
)
public:
Ellipsoid(
double equatorialRadius,
double polarRadius,
AxisIndicator polarAxis,
double centerTolerance,
double surfaceTolerance
)
new :
equatorialRadius : float *
polarRadius : float *
polarAxis : AxisIndicator *
centerTolerance : float *
surfaceTolerance : float -> Ellipsoid
Parameters
- equatorialRadius
- Type: SystemDouble
The lengths of the two equal semiaxis. - polarRadius
- Type: SystemDouble
The length of the semiaxis which is unequal to the rest. - polarAxis
- Type: AGI.Foundation.CoordinatesAxisIndicator
The axis which corresponds to the semiaxis which is unequal to the rest. - centerTolerance
- Type: SystemDouble
The numerical tolerance used to determine if a point is located
at the center of the ellipsoid. - surfaceTolerance
- Type: SystemDouble
The numerical tolerance used to determine if a point is located
on the surface of the ellipsoid.
Exceptions Remarks
If the equatorial radius is larger than the polar radius, the ellipsoid is an oblate spheroid.
If the equatorial radius is smaller than the polar radius, the ellipsoid is a prolate spheroid.
The conversions between cartesian and cartographic coordinates define longitude measured in the xy-plane.
Therefore, the z-axis will, in general, be indicated as the polar axis.
See Also