pub fn shorten_bond( x1: f64, y1: f64, x2: f64, y2: f64, gap1: f64, gap2: f64, ) -> (f64, f64, f64, f64)
Shorten a bond segment by end insets (same as Python bonds.shorten).
bonds.shorten