EntityDynamicSensorFieldOfViewTEntityGetRepresentativeFieldOfView Method |
Gets a
SensorFieldOfView that is representative of the ones that are produced by
evaluating the
DynamicSensorFieldOfViewEvaluator returned by
GetEvaluator. In many cases, this property can be
.
However, when using this sensor with
SensorVolumeConstraint
to constrain access over an interval, this property must return a representative instance so that
access can be set up properly. The representative instance must by the same type (such as
ComplexConic or
RectangularPyramid) as the instances returned by
the evaluator. Furthermore, the general shape of the sensor must be the same. For example,
if the representative sensor has a hole, then all sensors returned by the evaluator must have
holes as well. The size of the hole is still allowed to change with time, however. To be precise,
this method must return a
SensorFieldOfView with the exact same number of items in the
collection returned by
GetEnclosureDescriptions.
Namespace:
AGI.Foundation.Geometry.Shapes
Assembly:
AGI.Foundation.Tracking (in AGI.Foundation.Tracking.dll) Version: 24.2.419.0 (24.2.419.0)
Syntax public override SensorFieldOfView GetRepresentativeFieldOfView()
Public Overrides Function GetRepresentativeFieldOfView As SensorFieldOfView
public:
virtual SensorFieldOfView^ GetRepresentativeFieldOfView() override
abstract GetRepresentativeFieldOfView : unit -> SensorFieldOfView
override GetRepresentativeFieldOfView : unit -> SensorFieldOfView
Return Value
Type:
SensorFieldOfViewThe
SensorFieldOfView defined by this.
See Also