Function lanelet::utils::has(const ConstLanelet&, Id)
Defined in File Lanelet.h
Function Documentation
-
bool lanelet::utils::has(const ConstLanelet &ll, 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. Does NOT check members in regulatory elements, only ids of regulatory elements itself. A similar implementation exists for linestrings and regulatory elements.
- Parameters:
ll – the element holding other primitives
id – id to look for
- Returns:
true if the primitive has such an element