#include <geometry_msgs/Polygon.h>
#include <geometry_msgs/Point.h>
#include <costmap_2d/costmap_2d.h>
Go to the source code of this file.
Namespaces | |
frontier_exploration | |
Functions | |
template<typename T > | |
bool | frontier_exploration::pointInPolygon (const T &point, const geometry_msgs::Polygon &polygon) |
Evaluate if point is inside area defined by polygon. Undefined behaviour for points on line. More... | |
template<typename T , typename S > | |
double | frontier_exploration::pointsDistance (const T &one, const S &two) |
Calculate distance between two points. More... | |
template<typename T , typename S > | |
bool | frontier_exploration::pointsNearby (const T &one, const S &two, const double &proximity) |
Evaluate whether two points are approximately adjacent, within a specified proximity distance. More... | |
double | frontier_exploration::polygonPerimeter (const geometry_msgs::Polygon &polygon) |
Calculate polygon perimeter. More... | |
template<typename T , typename S > | |
double | frontier_exploration::yawOfVector (const T &origin, const S &end) |
Calculate the yaw of vector defined by origin and end points. More... | |