Function lanelet::geometry::internal::makeIndexedSegmenTree

Function Documentation

inline IndexedSegmentTree lanelet::geometry::internal::makeIndexedSegmenTree(const BasicLineString2d &lineString)

makeIndexedSegmenTree create search tree of segments with indices

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