Safe Haskell | None |
---|---|
Language | Haskell2010 |
Data.Geometry.Boundary
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.
Constructors
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.
Constructors
Inside | |
OnBoundary | |
Outside |
Instances
Eq PointLocationResult Source # | |
Defined in Data.Geometry.Boundary Methods (==) :: PointLocationResult -> PointLocationResult -> Bool # (/=) :: PointLocationResult -> PointLocationResult -> Bool # | |
Read PointLocationResult Source # | |
Defined in Data.Geometry.Boundary Methods readsPrec :: Int -> ReadS PointLocationResult # readList :: ReadS [PointLocationResult] # | |
Show PointLocationResult Source # | |
Defined in Data.Geometry.Boundary Methods showsPrec :: Int -> PointLocationResult -> ShowS # show :: PointLocationResult -> String # showList :: [PointLocationResult] -> ShowS # |