Expand description
Binary Space Partitioning for rscad
references. https://developer.valvesoftware.com/wiki/Binary_space_partitioning
Re-exports§
pub use affine::*;pub use bsp::*;pub use cleanup::*;pub use csg::*;pub use factory::*;pub use metadata::*;pub use plane::*;pub use polygon::*;pub use primitives::*;pub use rotation::*;
Modules§
- affine
- bsp
- cleanup
- Post-CSG polygon cleanup: remove degenerate polygons, collapse collinear vertices, and merge coplanar adjacent polygons.
- csg
- factory
- metadata
- plane
- polygon
- A polygon module, containing the
Polygonstruct and related types and methods. A polygon is a simple 2d shape in an N dimensional space, defined by its vertices and holes, and the plane it lies on. It can be tessellated into triangles using thetessellate_earcutmethod, which uses theearcutcrate, or thetessellate_delaunaymethod, which uses thespadecrate for Delaunay triangulation. The tessellated polygon is represented by theTessellatedPolygonstruct, which contains a reference to the original polygon and a list of triangle indices. - primitives
- rotation
- Euler angle rotation utilities.
Macros§
Structs§
- BspBackend
- BSP-based CSG backend.