Various improvements, metal debris
This commit is contained in:
+2
-2
@@ -68,8 +68,8 @@ errorClosestPointOnLineParam _ !x! y! z
|
||||
| otherwise = closestPointOnLineParam x y z
|
||||
|
||||
-- | Return midpoint between two points.
|
||||
pHalf :: Point2 -> Point2 -> Point2
|
||||
pHalf !a !b = 0.5 *.* (a +.+ b)
|
||||
midPoint :: Point2 -> Point2 -> Point2
|
||||
midPoint !a !b = 0.5 *.* (a +.+ b)
|
||||
-- | Test whether a circle is on a segment by intersecting a new normal segment through the
|
||||
-- center of the circle with the segment itself.
|
||||
-- Returns False if the circle center is beyond the endpoints of the
|
||||
|
||||
Reference in New Issue
Block a user