Public Member Functions | Public Attributes | List of all members
costmap_cspace::Polygon Class Reference

#include <polygon.h>

Public Member Functions

float dist (const Vec &a) const
 
bool inside (const Vec &a) const
 
void move (const float &x, const float &y, const float &yaw)
 
 Polygon ()
 
 Polygon (const XmlRpc::XmlRpcValue footprint_xml_const)
 
float radius () const
 
geometry_msgs::PolygonStamped toMsg () const
 

Public Attributes

std::vector< Vecv
 

Detailed Description

Definition at line 90 of file polygon.h.

Constructor & Destructor Documentation

costmap_cspace::Polygon::Polygon ( )
inline

Definition at line 95 of file polygon.h.

costmap_cspace::Polygon::Polygon ( const XmlRpc::XmlRpcValue  footprint_xml_const)
inlineexplicit

Definition at line 98 of file polygon.h.

Member Function Documentation

float costmap_cspace::Polygon::dist ( const Vec a) const
inline

Definition at line 181 of file polygon.h.

bool costmap_cspace::Polygon::inside ( const Vec a) const
inline

Definition at line 163 of file polygon.h.

void costmap_cspace::Polygon::move ( const float &  x,
const float &  y,
const float &  yaw 
)
inline

Definition at line 152 of file polygon.h.

float costmap_cspace::Polygon::radius ( ) const
inline

Definition at line 141 of file polygon.h.

geometry_msgs::PolygonStamped costmap_cspace::Polygon::toMsg ( ) const
inline

Definition at line 123 of file polygon.h.

Member Data Documentation

std::vector<Vec> costmap_cspace::Polygon::v

Definition at line 93 of file polygon.h.


The documentation for this class was generated from the following file:


costmap_cspace
Author(s): Atsushi Watanabe
autogenerated on Wed May 12 2021 02:20:29