Click or drag to resize

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.1.418.0 (24.1.418.0)
Syntax
public Ellipsoid(
	double equatorialRadius,
	double polarRadius,
	AxisIndicator polarAxis,
	double centerTolerance,
	double surfaceTolerance
)

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
ExceptionCondition
ArgumentOutOfRangeException Thrown when the parameters equatorialRadius or polarRadius are less than or equal to 0.
ArgumentOutOfRangeException Thrown when the parameters centerTolerance or surfaceTolerance are less than or equal to 0.
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