VIPRA Documentation
|
Classes | |
struct | GridPoint |
Public Member Functions | |
void | intialize (auto const &map, VIPRA::f_pnt gridSize) |
auto | get_grid (VIPRA::f3d pos) -> GridPoint & |
auto | get_grid (VIPRA::f3d pos) const -> GridPoint const & |
auto | get_x_count () const -> size_t |
auto | get_y_count () const -> size_t |
auto | begin () -> std::vector< GridPoint >::iterator |
auto | end () -> std::vector< GridPoint >::iterator |
void | flood_fill (VIPRA::f3d start, auto const &map) |
void | flood_fill (VIPRA::f3d start, auto const &map, DensityGrid const &densityGrid) |
auto | get_closest_grid_idx (VIPRA::f3d pos) const -> VIPRA::idx |
Gets the closest grid index to the coordinate. | |
auto | grid_center (VIPRA::f3d pos) const -> VIPRA::f3d |
Grid (const Grid &)=default | |
Grid (Grid &&) noexcept=default | |
auto | operator= (const Grid &) -> Grid &=default |
auto | operator= (Grid &&) noexcept -> Grid &=default |
|
inlinenodiscard |
Gets the closest grid index to the coordinate.
pos |