| Copyright | (C) Frank Staals |
|---|---|
| License | see the LICENSE file |
| Maintainer | Frank Staals |
| Safe Haskell | None |
| Language | Haskell2010 |
Data.Geometry.Line
Contents
Description
\(d\)-dimensional lines.
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 |
Methods 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 # | |
Methods intersect :: Line 2 r -> Boundary (Rectangle p r) -> Intersection (Line 2 r) (Boundary (Rectangle p r)) intersects :: Line 2 r -> Boundary (Rectangle p r) -> Bool nonEmptyIntersection :: proxy (Line 2 r) -> proxy (Boundary (Rectangle p r)) -> Intersection (Line 2 r) (Boundary (Rectangle p r)) -> Bool | |
| (Eq r, Fractional r, Arity d) => IsIntersectableWith (Point d r) (Line d r) Source # | |
| (Ord r, Num r) => IsIntersectableWith (Point 2 r) (Line 2 r) Source # | |
| (Ord r, Fractional r) => IsIntersectableWith (Line 2 r) (Rectangle p r) Source # | |