Ellipsoid Constructor (Double, Double) |
Initializes an ellipsoid as a unit sphere.
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 centerTolerance,
double surfaceTolerance
)
Public Sub New (
centerTolerance As Double,
surfaceTolerance As Double
)
public:
Ellipsoid(
double centerTolerance,
double surfaceTolerance
)
new :
centerTolerance : float *
surfaceTolerance : float -> Ellipsoid
Parameters
- 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 Exception | Condition |
---|
ArgumentOutOfRangeException |
Thrown when the parameters centerTolerance or surfaceTolerance
are less than or equal to 0.
|
See Also