terrahs-0.7: A library for GIS Programs in Haskell.ContentsIndex
TerraHS.Algebras.Base.Operations
Synopsis
class BinaryPredicates a b where
intersects :: a -> b -> Bool
touches :: a -> b -> Bool
crosses :: a -> b -> Bool
disjoint :: a -> b -> Bool
within :: a -> b -> Bool
equals :: a -> b -> Bool
overlaps :: a -> b -> Bool
coveredby :: a -> b -> Bool
contains :: a -> b -> Bool
containedBy :: b -> a -> Bool
before :: a -> b -> Bool
after :: a -> b -> Bool
class Set a where
union :: a -> a -> a
intersection :: a -> a -> a
difference :: a -> a -> a
class DistanceDirection a where
distance :: a -> a -> Double
direction :: a -> a -> Double
class Aggregation a b where
avg :: a -> b
class Numeric a where
length :: a -> Double
area :: a -> Double
class Centroid a b where
centroid :: a -> b
Documentation
class BinaryPredicates a b where
Methods
intersects :: a -> b -> Bool
touches :: a -> b -> Bool
crosses :: a -> b -> Bool
disjoint :: a -> b -> Bool
within :: a -> b -> Bool
equals :: a -> b -> Bool
overlaps :: a -> b -> Bool
coveredby :: a -> b -> Bool
contains :: a -> b -> Bool
containedBy :: b -> a -> Bool
before :: a -> b -> Bool
after :: a -> b -> Bool
show/hide Instances
class Set a where
Methods
union :: a -> a -> a
intersection :: a -> a -> a
difference :: a -> a -> a
show/hide Instances
class DistanceDirection a where
Methods
distance :: a -> a -> Double
direction :: a -> a -> Double
show/hide Instances
class Aggregation a b where
Methods
avg :: a -> b
class Numeric a where
Methods
length :: a -> Double
area :: a -> Double
show/hide Instances
class Centroid a b where
Calculates the centroid of a object
Methods
centroid :: a -> b
show/hide Instances
Produced by Haddock version 2.3.0