Skip to main content

Module shared

Module shared 

Source
Expand description

Shared detection back-half plus the geometry-only grid-growth engine.

The topological strategy’s only job is to build connected components; everything after — local component merge (merge), geometric validation (validate), and the per-component lattice fit (fit) — is shared here.

This module also hosts the pattern-agnostic grid-growth primitives and the geometry-only recovery schedule that powers the topological synthesized-axis (Evidence::Positions / Evidence::Oriented1) path:

A crate-private geometry-first attach policy for synthesized-axis evidence backs the recovery schedule. The undirected-angle helpers it needs live in crate::cluster (the single source of truth for wrap_pi / angular_dist_pi).

The chessboard crate composes grow / fill / extension / grow_extend directly for its own topological recovery path.

Re-exports§

pub use recovery_schedule as recovery;

Modules§

extension
Boundary extension of a labelled grid via fitted homography.
fill
Post-grow fill pass: interior holes + line extrapolation.
grow
Shared square-lattice growth primitives: candidate search, ambiguity resolution, the per-cell boundary decision, and the SquareAttachPolicy contract.
grow_extend
Cardinal-BFS extension from an existing labelled grid.
merge
Local-geometry-only component merge.
recovery_schedule
Geometry-only post-convergence recovery schedule (advanced tier).
validate
Post-growth validation for a labelled square grid.