terrahs-0.5: Simple library for GIS Programs in Haskell.
Source code
Contents
Index
Algebras.Base.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
geo2Points
:: [
TeGeometry
] -> [
TePoint
]
geo2Lines
:: [
TeGeometry
] -> [
TeLine2D
]
geo2Polygons
:: [
TeGeometry
] -> [
TePolygon
]
geo2Cells
:: [
TeGeometry
] -> [
TeCell
]
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
where
Source
Methods
isPoint
:: g ->
Bool
Source
isLine
:: g ->
Bool
Source
isPolygon
:: g ->
Bool
Source
toPolygon
:: g -> pg
Source
toLine
:: g -> l
Source
toPoint
:: g -> p
Source
Instances
Geometries
TeGeometry
TePolygon
TeLine2D
TePoint
Double
Geometries
TeGeometry
TePolygon
TeLine2D
TePoint
Double
Geometries
TeGeometry
TePolygon
TeLine2D
TePoint
Double
Geometries
TeGeometry
TePolygon
TeLine2D
TePoint
Double
Geometries
TeGeometry
TePolygon
TeLine2D
TePoint
Double
geo2Points
:: [
TeGeometry
] -> [
TePoint
]
Source
geo2Lines
:: [
TeGeometry
] -> [
TeLine2D
]
Source
geo2Polygons
:: [
TeGeometry
] -> [
TePolygon
]
Source
geo2Cells
:: [
TeGeometry
] -> [
TeCell
]
Source
Produced by
Haddock
version 2.4.2