Safe Haskell | None |
---|
- class AreIntersectable g h a where
- intersectionPoints :: g a -> h a -> [Point2' a]
Documentation
class AreIntersectable g h a whereSource
A class to represent that a pair of geometry objects (both parameterized over a) can be intersected.
intersectionPoints :: g a -> h a -> [Point2' a]Source
(Ord a, Floating a) => AreIntersectable Circle2' Polyline2' a | |
(Ord a, Floating a) => AreIntersectable Circle2' Line2' a | |
(Ord a, Floating a) => AreIntersectable Circle2' LineSegment2' a | Intersection is symetrical instance AreIntersectable g h a => AreIntersectable h g a where intersectionPoints h g = intersectionPoints g h |