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

 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) 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 Point , typename LinePoint >
double costmap_converter::computeSquaredDistanceToLineSegment (const Point &point, const LinePoint &line_start, const LinePoint &line_end, bool *is_inbetween=NULL)
 Calculate the squared 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...
 


costmap_converter
Author(s): Christoph Rösmann , Franz Albers , Otniel Rinaldo
autogenerated on Sat May 16 2020 03:19:18