rust-cv / space

Spatial library for Rust
MIT License
39 stars 4 forks source link

Spatial region querrying for octrees #10

Closed vadixidav closed 4 years ago

vadixidav commented 6 years ago

In #5 region ranges will be added. In addition to that, 3d spatial regions need to exist too for the purposes of querying what is in a space. The first such region should just be a cuboid bounding box using mortons.

vadixidav commented 6 years ago

This should also be the first implementation of the Contains trait.

vadixidav commented 6 years ago

The current abstractions of using explore to limit the scope of octree searches is sufficient to query a region. A helper combinator function should instead be created to create that parameter and it should be well-documented in the source and tested.