6 #include "API/Grids/BaseCell.hpp"
22 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
31 Eigen::Vector2d getCorner() {
return _corner; }
35 int getIndex() {
return _index; }
39 bool operator==( TwoDCell otherCell) {
return ((otherCell._index) == (this->_index)); }
43 Eigen::Vector2d _corner;
49 #endif // TWODCELL_HPP
Eigen::Vector2d getRandomPoint()
Random Point In ThreeDCell.
Definition: TwoDCell.cpp:84
Definition: TwoDCell.hpp:19
Definition: BaseCell.hpp:11
EIGEN_MAKE_ALIGNED_OPERATOR_NEW TwoDCell()
Constructor of cell.
Definition: TwoDCell.cpp:24
Definition: TwoDGrid.hpp:25
Eigen::Vector2d getCenter()
Function to get the center of the cell.
Definition: TwoDCell.cpp:67
Eigen::Vector2d getCellSize()
Gets the cell size.
Definition: TwoDCell.cpp:106
virtual ~TwoDCell()
Constructor of cell.
Definition: TwoDCell.cpp:46
bool isInsideCell(Eigen::Vector2d point)
Function is inside cell.
Definition: TwoDCell.cpp:56