axiolid_inspect/
lib.rs

1#![forbid(unsafe_code)]
2
3//! Mesh queries: clearance, containment, ray casting, and genus (#89).
4//!
5//! Containment is the exact ray-parity test #77 built for its boolean and
6//! kept private. It is promoted here rather than written a second time, so
7//! the boolean and the public query cannot disagree.
8
9pub mod cast;
10pub mod clearance;
11pub mod containment;
12pub mod genus;
13pub mod overlap;
14pub mod planes;
15pub mod sight;
16pub mod topology;
17
18pub use cast::{ray_cast, Hit};
19pub use clearance::min_gap;
20pub use containment::{contains, winding_number};
21pub use genus::{genus, GenusError};
22pub use overlap::{
23    difference_volume, enclosed_volume, intersection_volume, Operand, OverlapError, VolumeInterval,
24};
25pub use planes::{detect_planes, DetectedPlane, PlaneError, PlaneTolerance};
26pub use sight::{line_of_sight, line_of_sight_within, Sight, SightError, MAX_SIGHT_CELLS};
27pub use topology::{
28    topology, ComponentTopology, EdgeLoop, MeshTopology, SurfaceKind, TopologyError,
29};