Expand description
Bounded three-dimensional primitives.
These are plain data with public fields, matching the rest of crate:
adapters may construct degenerate or dirty values, and algorithms validate
against the operation’s own tolerance rather than a global epsilon hidden
here. Nothing in this module refuses input.
There is deliberately no read-only/mutable type pair. Languages without
ownership express that distinction by shipping Triangle3 beside a
MTriangle3; Rust expresses it as &T versus &mut T on one type, checked
by the compiler. Mirroring every type would double the surface and prove
nothing the borrow checker does not already prove.
Structs§
- Box3
- An oriented box: the generalization of a rectangle to three dimensions.
- Polygon3
- A simple polygon in three-dimensional space, without holes.
- Rectangle3
- A planar rectangle in three-dimensional space.
- Triangle3
- A three-dimensional triangle.