hgeometric-0.0.2: A geometric library with bindings to GPC.Source codeContentsIndex
Algebra.Geometric.Strip
Contents
Data Type
Convertion
Description
Strip data type and convertions.
Synopsis
newtype Strip = StripC {
stripSet :: Set Contour
}
safePolygonToStrip :: Polygon -> IO Strip
polygonToStrip :: Polygon -> Strip
Data Type
newtype Strip Source
A Strip is an alternative form of representing a Polygon composed by Contours that are not holes. It's a good idea to use it to draw filled figures, and to use Polygon to draw the Contours.
Constructors
StripC
stripSet :: Set Contour
show/hide Instances
Convertion
safePolygonToStrip :: Polygon -> IO StripSource
An IO version of polygonToStrip, which does not use unsafePerformIO.
polygonToStrip :: Polygon -> StripSource
Converts a Polygon to a Strip.
Produced by Haddock version 2.3.0