Click or drag to resize

Ellipsoid Constructor (Double, Double, AxisIndicator)

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
)

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.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException Thrown when the parameters equatorialRadius or polarRadius 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