Skip to main content

spoke_stem_len

Function spoke_stem_len 

Source
pub fn spoke_stem_len(
    centroid: (f64, f64),
    angle: f64,
    ring_xy: &[(i32, f64, f64)],
    bonds: &[(i32, i32)],
    bond_len: f64,
) -> f64
Expand description

Stem length: ring perimeter along the ray, plus one house bond — not from the centroid (too close) and not an extra bond past the ring (too far).