Expand description
Utilities for dealing with data, points and shapes on a 2d grid.
Re-exports§
pub use bit_grid::BitGrid;pub use float_grid::FloatGrid;pub use geometry::GridRect;pub use geometry::GridShape;pub use geometry::GridShapeIterator;pub use geometry::PositionedGrid;pub use geometry::SizedGrid;pub use grid::Grid;pub use pivot::Pivot;pub use pivot::PivotedPoint;pub use point::GridPoint;pub use size::GridSize;
Modules§
- bit_
grid - A rectangular grid of bit values for representing simple state across a large grid.
- direction
- Utilities for dealing with directions on a 2d grid.
- float_
grid - A rectangular grid of float values with utility functions for performing operations across the grid.
- geometry
- Utilities for building geometric shapes on a grid.
- grid
- A rectangular grid that stores it’s internal data in a
Vec. The size of the grid is constant and elements cannot be removed, only changed. Provides very fast iteration and access speed. - pivot
- A pivot point on a 2d grid.
- point
- A trait for types representing a 2d position on a grid.
- size
- A trait for types representing the size of a rectangular 2d grid.
- sparse_
grid - A simple data structure for storing values in a sparse 2d grid.
- util
- Simple utility for printing an ascii grid to the console.