Crate sark_grids

source ·
Expand description

A set of grids for storing and accessing data in a grid-like way.

Re-exports

Modules

  • Utilities for dealing with directions on a 2d grid.
  • Utilities for building geometric shapes on a grid.
  • A 2 dimensional 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.
  • Traits for more easily dealing with the various types to represent 2d points/sizes
  • A grid that stores it’s internal data in a BTreeMap. Elements don’t take up any memory until they’re inserted, and can be removed as needed, but iteration and access speed will be slower than a crate::grid::Grid for large full grids.