![]() |
Classes | |
class | lanelet::Area |
Famous Area class that represents a basic area as element of the map. More... | |
class | lanelet::ConstArea |
A const (i.e. immutable) Area. More... | |
While Lanelets represet a road section with directed motion, Areas represent regions outside of the normal lanes where either no motion occures (as in green stripes) or undirected motion occurs (e.g. on parking spaces). Areas represent a polygon that can have holes.
Areas are similar to Lanelets in that they can have RegulatoryElements that represent traffic rules. From a geometrical point of view, they are polygons with an outer contour and multiple inner contours. Every contour can be composed of multiple LineString that together form a closed ring.
Areas can be used direcly for some geometry calculations (see lanelet::geometry). They can also be interpreted as a polygon to make use of all polygon operations that boost::polygon supports.