Function lanelet::utils::has(const RegulatoryElement&, Id)
Defined in File RegulatoryElement.h
Function Documentation
-
bool lanelet::utils::has(const RegulatoryElement ®Elem, Id id)
returns true if element of a regulatory element has a matching Id
This function does not look for the id of the element, only its members Works for linestrings and polylines. A similar implementation exists for linestrings and lanelets.
- Parameters:
regElem – the element holding other primitives
id – id to look for
- Returns:
true if the primitive has such an element