pub fn near_equal<T>(p1: &Point<T>, p2: &Point<T>, max_dist_sqrd: f64) -> boolwhere T: Copy + ToF64,
Check if two points are near each other within a distance threshold Direct port from clipper.core.h line 616