Add haddocks
This commit is contained in:
@@ -117,12 +117,6 @@ errorClosestPointOnLineParam !i !x! y! z
|
||||
| x == y = dist x z
|
||||
| otherwise = closestPointOnLineParam x y z
|
||||
|
||||
-- | Normalize a vector to be unit length.
|
||||
-- For (0,0) return (0,0).
|
||||
safeNormalizeV :: Point2 -> Point2
|
||||
safeNormalizeV !(0,0) = (0,0)
|
||||
safeNormalizeV !p = normalizeV p
|
||||
|
||||
-- | Test whether a point is on the LHS of a line.
|
||||
-- Returns False if the line is of zero length.
|
||||
isLHS
|
||||
|
||||
Reference in New Issue
Block a user