Expand description
Mesh queries: clearance, near-coplanar faces, thin sheets, containment, ray casting, and genus (#89).
Containment is the exact ray-parity test #77 built for its boolean and kept private. It is promoted here rather than written a second time, so the boolean and the public query cannot disagree.
Re-exports§
pub use cast::ray_cast;pub use cast::Hit;pub use clearance::min_gap;pub use clearance::surface_gap;pub use containment::contains;pub use containment::winding_number;pub use coplanar::near_coplanar;pub use coplanar::NearCoplanar;pub use genus::genus;pub use genus::GenusError;pub use overlap::difference_volume;pub use overlap::enclosed_volume;pub use overlap::intersection_volume;pub use overlap::Operand;pub use overlap::OverlapError;pub use overlap::VolumeInterval;pub use planes::detect_planes;pub use planes::DetectedPlane;pub use planes::PlaneError;pub use planes::PlaneTolerance;pub use sheet::thin_sheet;pub use sheet::ThinSheet;pub use sight::line_of_sight;pub use sight::line_of_sight_within;pub use sight::Sight;pub use sight::SightError;pub use sight::MAX_SIGHT_CELLS;pub use topology::topology;pub use topology::ComponentTopology;pub use topology::EdgeLoop;pub use topology::MeshTopology;pub use topology::SurfaceKind;pub use topology::TopologyError;pub use winding::certify_unit_winding;pub use winding::WindingError;
Modules§
- cast
- First surface hit along a ray.
- clearance
- Closest approach between two meshes.
- containment
- Exact inside/outside for a point against a closed triangle mesh.
- coplanar
- Surfaces that nearly share a plane.
- genus
- Topological genus from the Euler characteristic.
- overlap
- Certified volume shared by two closed meshes, and the volume of their difference (#183).
- planes
- Planar regions of a triangle mesh (#131).
- sheet
- Two faces of one mesh that face each other within a linear distance.
- sight
- Certified line of sight from an eye point to a mesh past blockers (#185).
- topology
- Topology of a triangle mesh, per connected component (#144).
- winding
- Certificate that a closed oriented cycle’s winding number is 0 or 1 (#420, ADR 0099 D6).