Skip to main content

distance

Function distance 

Source
pub fn distance<T>(pt1: Point<T>, pt2: Point<T>) -> f64
where T: Copy + ToF64,
Expand description

Compute the distance between two points. Direct port from clipper.h Distance.