Skip to main content

Crate axiolid_inspect

Crate axiolid_inspect 

Source
Expand description

Mesh queries: clearance, 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 containment::contains;
pub use containment::winding_number;
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 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;

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.
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).
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).