feat(bbox): add bounding box implementation with serialization

Add initial implementation of the `BBox` struct in the `bbox` module,
including basic operations and serialization/deserialization support
with Serde.
This commit is contained in:
uttarayan21
2025-08-22 15:27:47 +05:30
parent aab3d84db0
commit 4b4d23d1d4
5 changed files with 777 additions and 0 deletions

13
bbox/Cargo.toml Normal file
View File

@@ -0,0 +1,13 @@
[package]
name = "bbox"
version.workspace = true
edition.workspace = true
[dependencies]
ndarray.workspace = true
num = "0.4.3"
serde = { workspace = true, features = ["derive"], optional = true }
[features]
serde = ["dep:serde"]
default = ["serde"]