Class DetectionArea
Defined in File detection_area.hpp
Inheritance Relationships
Base Type
public lanelet::RegulatoryElement
Class Documentation
-
class DetectionArea : public lanelet::RegulatoryElement
Public Types
-
using Ptr = std::shared_ptr<DetectionArea>
Public Functions
-
ConstPolygons3d detectionAreas() const
get the relevant detection_areas
- Returns:
detection_areas
-
Polygons3d detectionAreas()
-
void addDetectionArea(const Polygon3d &primitive)
add a new detection area
- Parameters:
primitive – detection area to add
-
bool removeDetectionArea(const Polygon3d &primitive)
remove a detection area
- Parameters:
primitive – the primitive
- Returns:
true if the detection area existed and was removed
-
ConstLineString3d stopLine() const
get the stop line for the detection area
- Returns:
the stop line as LineString
-
LineString3d stopLine()
-
void setStopLine(const LineString3d &stopLine)
set a new stop line, overwrite the old one
- Parameters:
stopLine – new stop line
-
void removeStopLine()
Deletes the stop line.
Public Static Functions
Public Static Attributes
-
static constexpr char RuleName[] = "detection_area"
-
using Ptr = std::shared_ptr<DetectionArea>