Numeric.Geometric.Primitives
Documentation
type LineSegment a = (a, a)Source
lOrigin :: LineSegment a -> aSource
lDestination :: LineSegment a -> aSource
flipLine :: LineSegment a -> LineSegment aSource
data IntersectionPoint Source
data LineIntersection Source
Constructors
| Coincident | |
| Parallel | |
| NINP | Not intersecting and not parallel |
| Intersecting IntersectionPair |
Constructors
| ZeroSlope | |
| UndefinedSlope | |
| NegativeSlope | |
| PositiveSlope |