Template Function lanelet::geometry::internal::makeSegmentTree

Function Documentation

template<typename LineString2dT>
inline SegmentTree lanelet::geometry::internal::makeSegmentTree(const LineString2dT &lineString)

makeIndexedSegmenTree create search tree of segments

Parameters:

lineString – line string that the segments will be created from

Throws:

InvalidInputError – if the line string size is below 2

Returns:

a search tree