Expand description
Alignment debug overlays — what matched what.
When crate::scene::MoleculeIn::debug_align is on and
crate::scene::AlignDebug is stamped, depict paints:
- Atom level: each matched atom gets a small disk + the template atom index as text. Same number on template and query ⇒ same correspondence. Unmatched query atoms get a muted open circle.
- Mol level: a corner badge with role + peer id(s).
Constants§
- DEBUG_
ALIGN_ BADGE - DEBUG_
ALIGN_ OPACITY - DEBUG_
ALIGN_ PALETTE - Stable palette — index by
tag.rem_euclid(N). - DEBUG_
ALIGN_ UNMATCHED
Functions§
- align_
debug_ query - Build query-side debug: each query atom tagged with the template atom index.
- align_
debug_ template - Build template-side debug: every mapped ref atom tagged with its own index.
- paint_
align_ debug - Paint align-debug primitives in molecule (canvas) space after
dx, dyshift. - tag_
color