Expand description
§oxigdal-noalloc
no_std, no_alloc fixed-size geometry primitives for OxiGDAL.
This crate provides zero-allocation geometry types suitable for embedded and RISC-V environments where heap allocation is unavailable or undesirable.
§Types
Point2D— 2D point with distance and midpoint operationsPoint3D— 3D pointBBox2D— 2D axis-aligned bounding boxLineSegment2D— 2D line segment with intersection supportTriangle2D— 2D triangle with area, containment, and centroidFixedPolygon— Fixed-capacity polygon backed by an inline arrayCoordTransform— 2D affine transform (2×3 matrix)GeoHashFixed— Geohash encoding stored as[u8; 12]NoAllocError— Error enum for no-alloc operations
Re-exports§
pub use geohash::GeoHashFixed;
Modules§
- geohash
- Geohash encoding and decoding for
no_std,no_allocenvironments.
Structs§
- BBox2D
- A 2-dimensional axis-aligned bounding box.
- Coord
Transform - A 2D affine transformation stored as a 2×3 matrix.
- Fixed
Polygon - A polygon with a statically-allocated vertex array of capacity
N. - Line
Segment2D - A directed 2D line segment from
starttoend. - Point2D
- A 2-dimensional point.
- Point3D
- A 3-dimensional point.
- Triangle2D
- A triangle defined by three 2D vertices.
Enums§
- NoAlloc
Error - Errors that can occur in no-alloc geometry operations.