Skip to main content

Module detect

Module detect 

Source
Expand description

Detection task facade.

The working implementations target the square lattice with any of the three input-feature kinds. Evidence::Oriented2 is the native shape, assembled by the axis-driven topological grid finder (Delaunay → quad-mesh → flood-fill → validate → fit). Evidence::Positions (orientation-free) and Evidence::Oriented1 (single-axis) are synthesized up to the Oriented2 shape (crate::orient) and then run the same assembler, with the geometry-only RecoverySchedule enabled to recover the recall the synthesized-axis frontier would otherwise leave on the table — so all three square input kinds share one back-half. All produce the same GridSolution shape.

The remaining combinations — Evidence::Oriented3, Evidence::CoordinateHypotheses, and every (Hex, *) variant — are typed GridError::UnsupportedCombination placeholders (see the support matrix on detect_grid).

The detection surface is pinned to f32. The generic-F surface that remains in the crate is the pure-geometry crate::geometry module.

Re-exports§

pub use crate::shared::recovery_schedule::RecoveryParams;
pub use crate::shared::recovery_schedule::RecoverySchedule;
pub use crate::shared::validate::ValidationParams as ValidateParams;
pub use crate::topological::TopologicalParams;

Structs§

DetectionParams
Detection parameters.
DetectionReport
Multi-component detection result returned by detect_grid_all.
DetectionRequest
Detection request.

Enums§

Evidence
Evidence supplied to a detection task.

Functions§

detect_grid
Detect a grid from feature evidence.
detect_grid_all
Multi-component variant of detect_grid.