X-Git-Url: https://gitweb.michael.orlitzky.com/?a=blobdiff_plain;f=src%2FPoint.hs;h=bf6fe8ea9a2f6fc4e3ce59168cd7ce798981e894;hb=3ca93d34820387778ebdd8817130e719302bf02d;hp=94bcd70f6e8c586f28a70e655c6bbd227ba1c801;hpb=d60de7d5ab06d6c3261826b843ee89cf12ab9667;p=spline3.git diff --git a/src/Point.hs b/src/Point.hs index 94bcd70..bf6fe8e 100644 --- a/src/Point.hs +++ b/src/Point.hs @@ -68,6 +68,7 @@ distance p1 p2 = z2 = z_coord p2 --- | Returns 'True' if p1 'is_close' to p2, 'False' otherwise. +-- | Returns 'True' if p1 is close to (within 'epsilon' of) p2, +-- 'False' otherwise. is_close :: Point -> Point -> Bool is_close p1 p2 = (distance p1 p2) ~= 0