libmove3d-planners
 All Classes Namespaces Files Functions Variables Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Attributes | List of all members
API::TwoDCell Class Reference
Inheritance diagram for API::TwoDCell:
API::BaseCell GTP2DCell HRICS::EnvCell HRICS::MultiAgentCell HRICS::PlanCell

Public Member Functions

EIGEN_MAKE_ALIGNED_OPERATOR_NEW TwoDCell ()
 Constructor of cell. More...
 
 TwoDCell (int i, Eigen::Vector2d corner, TwoDGrid *grid)
 
virtual ~TwoDCell ()
 Constructor of cell. More...
 
bool isInsideCell (Eigen::Vector2d point)
 Function is inside cell. More...
 
Eigen::Vector2d getCenter ()
 Function to get the center of the cell. More...
 
Eigen::Vector2d getCorner ()
 
Eigen::Vector2d getRandomPoint ()
 Random Point In ThreeDCell.
 
Eigen::Vector2d getCellSize ()
 Gets the cell size.
 
int getIndex ()
 
virtual void draw ()
 
bool operator== (TwoDCell otherCell)
 
- Public Member Functions inherited from API::BaseCell
virtual bool writeToXml (xmlNodePtr cur)
 
virtual bool readCellFromXml (xmlNodePtr cur)
 

Protected Attributes

int _index
 
Eigen::Vector2d _corner
 
TwoDGrid_grid
 

Constructor & Destructor Documentation

TwoDCell::TwoDCell ( )

Constructor of cell.

Parameters
integerindex
TwoDCell::~TwoDCell ( )
virtual

Constructor of cell.

Parameters
integerindex

Member Function Documentation

Vector2d TwoDCell::getCenter ( )

Function to get the center of the cell.

Parameters
3Dpoint vector
bool TwoDCell::isInsideCell ( Eigen::Vector2d  point)

Function is inside cell.

Parameters
3Dpoint vector

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