Template Function lanelet::geometry::inside(const LaneletT&, const BasicPoint2d&)

Function Documentation

template<typename LaneletT>
IfLL<LaneletT, bool> lanelet::geometry::inside(const LaneletT &lanelet, const BasicPoint2d &point)

Checks whether a point is within or at the border of a lanelet.

Parameters:
  • lanelet – for the check

  • point – point to check

Returns:

true if the point is within or at the border, false otherwise