Click or drag to resize

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)
Syntax
public RectangularPyramid(
	double xHalfAngle,
	double yHalfAngle,
	double maximumRadius
)

Parameters

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
ExceptionCondition
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