Skip to main content

near_equal

Function near_equal 

Source
pub fn near_equal<T>(p1: &Point<T>, p2: &Point<T>, max_dist_sqrd: f64) -> bool
where T: Copy + ToF64,
Expand description

Check if two points are near each other within a distance threshold Direct port from clipper.core.h line 616