terrahs-0.7: A library for GIS Programs in Haskell.Source codeContentsIndex
TerraHS.Algebras.Spatial.Geometries
Contents
The Geometries class
Synopsis
class (Num a, Points p a, Lines l a, Polygons pg l a) => Geometries g pg l p a | g -> pg l p a where
isPoint :: g -> Bool
isLine :: g -> Bool
isPolygon :: g -> Bool
toPolygon :: g -> pg
toLine :: g -> l
toPoint :: g -> p
The Geometries class
class (Num a, Points p a, Lines l a, Polygons pg l a) => Geometries g pg l p a | g -> pg l p a whereSource
Methods
isPoint :: g -> BoolSource
isLine :: g -> BoolSource
isPolygon :: g -> BoolSource
toPolygon :: g -> pgSource
toLine :: g -> lSource
toPoint :: g -> pSource
show/hide Instances
Produced by Haddock version 2.4.2