CustomSensorPattern Constructor (IListUnitSpherical, Double, Double) |
Initializes a new instance with the specified list of directions defining the
custom sensor pattern.
Namespace:
AGI.Foundation.Geometry.Shapes
Assembly:
AGI.Foundation.Core (in AGI.Foundation.Core.dll) Version: 26.3.426.0 (26.3.426.0)
Syntaxpublic CustomSensorPattern(
IList<UnitSpherical> directions,
double minimumRadius,
double maximumRadius
)
Public Sub New (
directions As IList(Of UnitSpherical),
minimumRadius As Double,
maximumRadius As Double
)
public:
CustomSensorPattern(
IList<UnitSpherical>^ directions,
double minimumRadius,
double maximumRadius
)
new :
directions : IList<UnitSpherical> *
minimumRadius : float *
maximumRadius : float -> CustomSensorPatternParameters
- directions
- Type: System.Collections.GenericIListUnitSpherical
The list of directions that define the custom sensor pattern. The directions
are vectors originating from the sensor's origin and expressed in the sensor's axes.
See the Remarks section of the CustomSensorPattern reference documentation
for more information.
- 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 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