Class Crosswalk
Defined in File crosswalk.hpp
Nested Relationships
Nested Types
Inheritance Relationships
Base Type
public lanelet::RegulatoryElement
Class Documentation
-
class Crosswalk : public lanelet::RegulatoryElement
-
Public Functions
-
ConstPolygons3d crosswalkAreas() const
get the relevant crosswalk area
- Returns:
crosswalk area
-
ConstLineStrings3d stopLines() const
get the relevant crosswalk line
- Returns:
stop line
-
ConstLanelet crosswalkLanelet() const
get the relevant crosswalk lanelet
- Returns:
lanelet
-
void addCrosswalkArea(const Polygon3d &primitive)
add a new crosswalk area
- Parameters:
primitive – crosswalk area to add
-
bool removeCrosswalkArea(const Polygon3d &primitive)
remove a crosswalk area
- Parameters:
primitive – the primitive
- Returns:
true if the crosswalk area existed and was removed
Public Static Functions
Public Static Attributes
-
static constexpr char RuleName[] = "crosswalk"
-
ConstPolygons3d crosswalkAreas() const