Namespaces | Functions
misc.h File Reference
#include <algorithm>
#include <cmath>
Include dependency graph for misc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  costmap_converter

Functions

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)
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.
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.
template<typename Point1 , typename Point2 >
double costmap_converter::norm2d (const Point1 &pt1, const Point2 &pt2)
 Calculate the distance between two 2d points.


costmap_converter
Author(s): Christoph Rösmann , Franz Albers , Otniel Rinaldo
autogenerated on Wed Sep 20 2017 03:00:37