Skip to main content

mid_point

Function mid_point 

Source
pub fn mid_point<T>(p1: Point<T>, p2: Point<T>) -> Point<T>
where T: Num + Copy,
Expand description

Calculate midpoint between two points Direct port from clipper.core.h line 278