Click or drag to resize

Ellipsoid Constructor (Cartesian, Double, Double)

Initializes an ellipsoid as a scalene ellipsoid.

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(
	Cartesian semiaxisLengths,
	double centerTolerance,
	double surfaceTolerance
)

Parameters

semiaxisLengths
Type: AGI.Foundation.CoordinatesCartesian
The semiaxis lengths along the x, y, and z axes of the ellipsoid.
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 parameter semiaxisLengths has an X, Y, or Z component that is less than or equal to 0.
ArgumentOutOfRangeException Thrown when the parameters centerTolerance or surfaceTolerance are less than or equal to 0.
See Also