Click or drag to resize

RectangularPyramid Constructor (Double, 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 minimumRadius,
	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.
minimumRadius
Type: SystemDouble
The radial distance to the spherical surface defining the minimum range of the sensor volume.
maximumRadius
Type: SystemDouble
The radial distance to the spherical surface defining the maximum range of the sensor volume.
Exceptions
ExceptionCondition
ArgumentOutOfRangeException Thrown when the xHalfAngle or yHalfAngle is less than or equal to zero or greater than HalfPi radians.
ArgumentOutOfRangeException The minimumRadius and maximumRadius radial limits must be in the range from 0.0 to PositiveInfinity.
ArgumentException The minimumRadius radial limit must be less the maximumRadius radial limit.
See Also