Click or drag to resize

Ellipsoid Constructor (Double, Double, Double, Double, Double)

Initializes an ellipsoid as a scalene ellipsoid.

Namespace:  AGI.Foundation.Geometry.Shapes
Assembly:  AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 21.1.408.0 (21.1.408.0)
Syntax
public Ellipsoid(
	double x,
	double y,
	double z,
	double centerTolerance,
	double surfaceTolerance
)

Parameters

x
Type: SystemDouble
The semiaxis length along the x-axis of the ellipsoid.
y
Type: SystemDouble
The semiaxis length along the y-axis of the ellipsoid.
z
Type: SystemDouble
The semiaxis length along the z-axis 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 parameters x, y, or z are less than or equal to 0.
ArgumentOutOfRangeException Thrown when the parameters centerTolerance or surfaceTolerance are less than or equal to 0.
See Also