ComplexConic Constructor (Double, Double, 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)
Syntaxpublic ComplexConic(
double innerHalfAngle,
double outerHalfAngle,
double minimumClockAngle,
double maximumClockAngle,
double minimumRadius,
double maximumRadius
)
Public Sub New (
innerHalfAngle As Double,
outerHalfAngle As Double,
minimumClockAngle As Double,
maximumClockAngle As Double,
minimumRadius As Double,
maximumRadius As Double
)
public:
ComplexConic(
double innerHalfAngle,
double outerHalfAngle,
double minimumClockAngle,
double maximumClockAngle,
double minimumRadius,
double maximumRadius
)
new :
innerHalfAngle : float *
outerHalfAngle : float *
minimumClockAngle : float *
maximumClockAngle : float *
minimumRadius : float *
maximumRadius : float -> ComplexConicParameters
- innerHalfAngle
- Type: SystemDouble
The angle between the principal direction and the boundary of the interior conical volume of exclusion.
Defines the interior conical volume of exclusion.
- outerHalfAngle
- Type: SystemDouble
The angle between the principal direction and the external boundary of the volume of the sensor.
Defines the conical volume of the sensor.
- minimumClockAngle
- Type: SystemDouble
The angle between the positive x-axis and the opening edge of the restricted annular cross-section.
The angle is measured clockwise when looking in the direction of the positive z axis.
In conjunction with the maximumClockAngle,
restricts sensor volume to a portion of the annular cross-section of a cone.
- maximumClockAngle
- Type: SystemDouble
The angle between the positive x-axis and the closing edge of the restricted annular cross-section.
The angle is measured clockwise when looking in the direction of the positive z axis.
In conjunction with the minimumClockAngle,
restricts the sensor volume to a portion of the annular cross-section of a cone.
- 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| Exception | Condition |
|---|
| ArgumentOutOfRangeException |
The inner and outer half angles must be in the range from 0 to π radians, not inclusive.
|
| ArgumentException |
The inner half angle must be less than the outer half angle.
|
| ArgumentOutOfRangeException |
The minimumClockAngle and maximumClockAngle clock angles must be in the range from -2π to 2π radians.
|
| ArgumentException |
The minimumClockAngle clock angle must be less than the maximumClockAngle clock angle.
|
| 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