Interface PerceptionModel
- All Known Implementing Classes:
SimplePerceptionModel
public interface PerceptionModel
The
PerceptionModel calculates for a given SpatialObject, if it is in
viewing range from the perspective of the perceiving ego entity.-
Method Summary
Modifier and TypeMethodDescriptionReturns the minimum bounding box around this perception area.booleanisInRange(SpatialObject<?> other) Checks, if the other spatial object is within this perception range.
-
Method Details
-
isInRange
Checks, if the other spatial object is within this perception range. -
getBoundingBox
BoundingBox getBoundingBox()Returns the minimum bounding box around this perception area. This is used for range search queries in the perception index.
-