hgeometric-0.0.1: A geometric library with bindings to GPC.
Algebra.Geometric.Polygon.File
Description
Support for reading and writing a Polygon in a file.
Polygon
Synopsis
readPolygon :: FilePath -> Bool -> IO (Maybe Polygon)Source
Reads a file into a Polygon. If the file isn't accessible, then Nothing is returned.
Nothing
writePolygon :: String -> Bool -> Polygon -> IO BoolSource
If the Polygon was successfully written, then this function returns True, and False otherwise.
True
False