georust / rstar

R*-tree spatial index for the Rust ecosystem
https://docs.rs/rstar
Apache License 2.0
396 stars 67 forks source link

Improve interoperability with other linear algebra crates #28

Closed Stoeoef closed 8 months ago

Stoeoef commented 4 years ago

It would be nice if rstar had first class support for other geometry crates, e.g. nalgebra or cgmath.

Up to now, users either need to

One promising path forward might be adding support for the mint crate crate. Adding Point impls for the mint types should allow to add them to an R-Tree directly. Both cgmath and nalgebra support mint already.

This issue originated from #25

ripytide commented 1 year ago

Could this be closed as fixed with #134 now merged?

adamreichold commented 8 months ago

Agreed. Let's consider the mint support the canonical integration point as long as nobody asks for direct support of a particular crate like nalgebra.