neighborgrid

Crates.ioneighborgrid
lib.rsneighborgrid
version0.1.0
sourcesrc
created_at2023-06-11 22:34:11.551383
updated_at2023-06-11 22:34:11.551383
descriptionA 2-D grid datastructure with easy to use iterators and adjacent cell methods
homepage
repositoryhttps://github.com/TimLikesTacos/neighborgrid
max_upload_size
id887597
size89,832
Tim Reed (TimLikesTacos)

documentation

README

A collection that represents a 2-D grid with equal amount of cells in each row and equal number of cells in each column. Supports different origin (location of 0,0) configurations, and includes methods to get neighbors of cells, iterators, and more. Behind the scenes, the data is stored in a 1-D Vec to improve performance, but interaction with grid is done through normal (x,y) grid location methods.

See the documentation for more details.

This has just been a result of messing around with grid problem, nothing high-end scientific / mathmatical / or production based. Enjoy!

Commit count: 14

cargo fmt