RectangularPyramid Constructor (Double, Double, Double) |
Constructs a volume of limited radius with the provided parameters.
Namespace:
AGI.Foundation.Geometry.Shapes
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 26.3.426.0 (26.3.426.0)
Syntaxpublic RectangularPyramid(
double xHalfAngle,
double yHalfAngle,
double maximumRadius
)
Public Sub New (
xHalfAngle As Double,
yHalfAngle As Double,
maximumRadius As Double
)
public:
RectangularPyramid(
double xHalfAngle,
double yHalfAngle,
double maximumRadius
)
new :
xHalfAngle : float *
yHalfAngle : float *
maximumRadius : float -> RectangularPyramidParameters
- xHalfAngle
- Type: SystemDouble
The half angle measured from the principal direction and in the direction of the x-axis. - yHalfAngle
- Type: SystemDouble
The half angle measured from the principal direction and in the direction of the y-axis. - maximumRadius
- Type: SystemDouble
The radial limit of the volume. This is the maximum range at which the sensor can detect a target.
Exceptions| Exception | Condition |
|---|
| ArgumentOutOfRangeException |
Thrown when the xHalfAngle or yHalfAngle is less than or equal to zero or greater than HalfPi radians.
|
| ArgumentOutOfRangeException |
The maximumRadius radial limit must be in the range from 0.0 to PositiveInfinity.
|
See Also