Skip to content

raisin::WorldCellKey ​

struct · #include <rayrai/WorldCells.hpp>

Integer cell coordinate; (0,0) is the cell at the world's minimum corner.

Public member functions ​

operator== ​

cpp
bool operator==(const WorldCellKey &b) const

Equality of both coordinates.

operator< ​

cpp
bool operator<(const WorldCellKey &b) const

Row-major order (y first, then x), used for the sorted resident list.

Public attributes ​

x ​

cpp
int32_t x

y ​

cpp
int32_t y

Cell column (x) and row (y).

RaiSim — physics for robotics and AI.