#include <algorithm>
#include <cmath>
Go to the source code of this file.
|
template<typename Point , typename LinePoint > |
double | costmap_converter::computeDistanceToLine (const Point &point, const LinePoint &line_pt1, const LinePoint &line_pt2) |
| Calculate the distance between a point and a straight line (with infinite length) More...
|
|
template<typename Point , typename LinePoint > |
double | costmap_converter::computeDistanceToLineSegment (const Point &point, const LinePoint &line_start, const LinePoint &line_end, bool *is_inbetween=NULL) |
| Calculate the distance between a point and a straight line segment. More...
|
|
template<typename Point1 , typename Point2 > |
bool | costmap_converter::isApprox2d (const Point1 &pt1, const Point2 &pt2, double threshold) |
| Check if two points are approximately defining the same one. More...
|
|
template<typename Point1 , typename Point2 > |
double | costmap_converter::norm2d (const Point1 &pt1, const Point2 &pt2) |
| Calculate the distance between two 2d points. More...
|
|