Namespaces | Functions
geometry_tools.h File Reference
#include <geometry_msgs/Polygon.h>
#include <geometry_msgs/Point.h>
#include <costmap_2d/costmap_2d.h>
Include dependency graph for geometry_tools.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  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.
template<typename T , typename S >
double frontier_exploration::pointsDistance (const T &one, const S &two)
 Calculate distance between two points.
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.
double frontier_exploration::polygonPerimeter (const geometry_msgs::Polygon &polygon)
 Calculate polygon perimeter.
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.


frontier_exploration
Author(s): Paul Bovbel
autogenerated on Thu Aug 10 2017 03:02:58