Ellipsoid Constructor (Double) |
Initializes an ellipsoid as a sphere.
Namespace:
AGI.Foundation.Geometry.Shapes
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 25.2.423.0 (25.2.423.0)
Syntaxpublic Ellipsoid(
double radius
)
Public Sub New (
radius As Double
)
public:
Ellipsoid(
double radius
)
new :
radius : float -> EllipsoidParameters
- radius
- Type: SystemDouble
The radius of the sphere.
Exceptions| Exception | Condition |
|---|
| ArgumentOutOfRangeException |
Thrown when the parameter radius is less than or equal to 0.
|
See Also