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

Function Documentation

template<typename AreaT>
IfAr<AreaT, bool> lanelet::geometry::inside(const AreaT &area, const BasicPoint2d &point)

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

Parameters:
  • area – for the check

  • point – point to check

Returns:

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