#include <math.h>
#include <algorithm>
#include <vector>
#include <geometry_msgs/Point.h>
Go to the source code of this file.
|
double | distance (double x0, double y0, double x1, double y1) |
|
double | distanceToLine (double pX, double pY, double x0, double y0, double x1, double y1) |
|
bool | intersects (std::vector< geometry_msgs::Point > &polygon, float testx, float testy) |
|
bool | intersects (std::vector< geometry_msgs::Point > &polygon1, std::vector< geometry_msgs::Point > &polygon2) |
|
double | sign (double x) |
| Return -1 if x < 0, +1 otherwise. More...
|
|
double | sign0 (double x) |
| Same as sign(x) but returns 0 if x is 0. More...
|
|
double distance |
( |
double |
x0, |
|
|
double |
y0, |
|
|
double |
x1, |
|
|
double |
y1 |
|
) |
| |
|
inline |
double distanceToLine |
( |
double |
pX, |
|
|
double |
pY, |
|
|
double |
x0, |
|
|
double |
y0, |
|
|
double |
x1, |
|
|
double |
y1 |
|
) |
| |
Same as sign(x) but returns 0 if x is 0.
Definition at line 53 of file costmap_math.h.
costmap_2d
Author(s): Eitan Marder-Eppstein, David V. Lu!!, Dave Hershberger, contradict@gmail.com
autogenerated on Sun Mar 3 2019 03:44:17