TerraHS-0.3
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
isPolygon
:: g -> Bool
isLine
:: 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
where
Methods
isPoint
:: g -> Bool
isPolygon
:: g -> Bool
isLine
:: g -> Bool
toPolygon
:: g -> pg
toLine
:: g -> l
toPoint
:: g -> p
Instances
Geometries
TeGeometry
TePolygon
TeLine2D
TePoint
Double
Produced by
Haddock
version 0.7