terrahs-0.7: A library for GIS Programs in Haskell.ContentsIndex
TerraHS.Algebras.Spatial.GeoObjects
Contents
The TeGeoObject type
The TeGeoObjects class
Synopsis
class (Num n, Points p n, Lines l n, Polygons pg l n, Geometries g pg l p n, Ids i, Values v, Attributes at v) => GeoObjects a i at v g pg l p n | a -> i at v g pg l p n where
getId :: a -> i
getAttributes :: a -> [at]
getGeometries :: a -> [g]
The TeGeoObject type
The TeGeoObjects class
class (Num n, Points p n, Lines l n, Polygons pg l n, Geometries g pg l p n, Ids i, Values v, Attributes at v) => GeoObjects a i at v g pg l p n | a -> i at v g pg l p n where
Methods
getId :: a -> i
Returns the object identification
getAttributes :: a -> [at]
Returns the attributes list from a geoobject
getGeometries :: a -> [g]
Returns the geometries list from a geoobject
show/hide Instances
Produced by Haddock version 2.3.0