Copyright | (C) Frank Staals |
---|---|
License | see the LICENSE file |
Maintainer | Frank Staals |
Safe Haskell | None |
Language | Haskell2010 |
Synopsis
- newtype Boundary g = Boundary g
- _Boundary :: Iso g h (Boundary g) (Boundary h)
- data PointLocationResult
- = Inside
- | OnBoundary
- | Outside
Documentation
The boundary of a geometric object.
Boundary g |
Instances
_Boundary :: Iso g h (Boundary g) (Boundary h) Source #
Iso for converting between things with a boundary and without its boundary
data PointLocationResult Source #
Result of a query that asks if something is Inside a g, *on* the boundary of the g, or outside.
Instances
Eq PointLocationResult Source # | |
Defined in Data.Geometry.Boundary (==) :: PointLocationResult -> PointLocationResult -> Bool # (/=) :: PointLocationResult -> PointLocationResult -> Bool # | |
Read PointLocationResult Source # | |
Defined in Data.Geometry.Boundary | |
Show PointLocationResult Source # | |
Defined in Data.Geometry.Boundary showsPrec :: Int -> PointLocationResult -> ShowS # show :: PointLocationResult -> String # showList :: [PointLocationResult] -> ShowS # |