Linting
This commit is contained in:
+5
-5
@@ -373,11 +373,11 @@ reflectInParam x line vec =
|
||||
--reflectIn' :: Point2 -> Point2 -> Point2 -> Point2 -> Point2
|
||||
--reflectIn' l1 l2 v1 v2 = v1 +.+ reflectIn (l1 -.- l2) (v2 -.- v1)
|
||||
|
||||
--isOnSeg :: Point2 -> Point2 -> Point2 -> Bool
|
||||
--isOnSeg l1 l2 p =
|
||||
-- errorClosestPointOnLineParam 10 l1 (l1 +.+ vNormal (l2 -.- l1)) p == 0
|
||||
-- && errorClosestPointOnLineParam 11 l1 l2 p <= 1
|
||||
-- && errorClosestPointOnLineParam 12 l1 l2 p >= 0
|
||||
isOnSeg :: Point2 -> Point2 -> Point2 -> Bool
|
||||
isOnSeg l1 l2 p =
|
||||
errorClosestPointOnLineParam 10 l1 (l1 +.+ vNormal (l2 -.- l1)) p == 0
|
||||
&& errorClosestPointOnLineParam 11 l1 l2 p <= 1
|
||||
&& errorClosestPointOnLineParam 12 l1 l2 p >= 0
|
||||
|
||||
-- | Divide a segment into a list of points with a maximal distance between
|
||||
-- them.
|
||||
|
||||
Reference in New Issue
Block a user