Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
module Data.Geometry.Line.Internal
Orphan instances
(Fractional r, Arity d, Arity (d + 1)) => IsTransformable (Line d r) Source # | Lines are transformable, via line segments |
transformBy :: Transformation (Dimension (Line d r)) (NumType (Line d r)) -> Line d r -> Line d r Source # | |
(Ord r, Fractional r) => IsIntersectableWith (Line 2 r) (Boundary (Rectangle p r)) Source # | |
intersect :: Line 2 r -> Boundary (Rectangle p r) -> Intersection (Line 2 r) (Boundary (Rectangle p r)) Source # intersects :: Line 2 r -> Boundary (Rectangle p r) -> Bool Source # nonEmptyIntersection :: proxy (Line 2 r) -> proxy (Boundary (Rectangle p r)) -> Intersection (Line 2 r) (Boundary (Rectangle p r)) -> Bool Source # | |
(Ord r, Fractional r) => IsIntersectableWith (Line 2 r) (Rectangle p r) Source # | |