Public Member Functions

 PolyWorld (const std::string &worldName, const std::pair< double, double > &xBounds, const std::pair< double, double > &yBounds)
 
const std::string & worldName () const
 
std::pair< double, double > xBounds () const
 
std::pair< double, double > yBounds () const
 
size_t numObstacles () const
 
const std::vector< ConvexPolygon > & obstacles () const
 
const ConvexPolygonobstacle (size_t i) const
 
void addObstacle (const ConvexPolygon &polygon)
 
bool outOfBounds (Point p) const
 
bool pointCollisionFree (Point p) const
 
void writeWorld (const char *filename) const
 

Protected Attributes

std::string worldName_
 
std::vector< std::pair< double, double > > bounds_
 
std::vector< ConvexPolygonobstacles_
 

Detailed Description

Definition at line 80 of file PolyWorld.h.


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