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