Skip to main content

multi_bond_offset

Function multi_bond_offset 

Source
pub fn multi_bond_offset(length: f64) -> f64
Expand description

Parallel spacing for double/triple strokes (RDKit multipleBondOffset).

Prefer OFFSET_PX. Do not scale down to the post-label stroke length — heteroatom insets must not collapse carbonyl spacing. Only shrink for degenerate stubs shorter than two offset widths.