Trait SqSegDistance
simplify
pub trait SqSegDistance<L = Self, R = Self> where Self: Point, L: Point, R: Point, { fn get_sq_seg_distance(&self, l: &L, r: &R) -> f64 { ... } }
fn get_sq_seg_distance(&self, l: &L, r: &R) -> f64
impl<T> SqSegDistance<T, T> for T where T: Point,