terrahs-0.7: A library for GIS Programs in Haskell.Source codeContentsIndex
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 whereSource
Methods
intersects :: a -> b -> BoolSource
touches :: a -> b -> BoolSource
crosses :: a -> b -> BoolSource
disjoint :: a -> b -> BoolSource
within :: a -> b -> BoolSource
equals :: a -> b -> BoolSource
overlaps :: a -> b -> BoolSource
coveredby :: a -> b -> BoolSource
contains :: a -> b -> BoolSource
containedBy :: b -> a -> BoolSource
before :: a -> b -> BoolSource
after :: a -> b -> BoolSource
show/hide Instances
class Set a whereSource
Methods
union :: a -> a -> aSource
intersection :: a -> a -> aSource
difference :: a -> a -> aSource
show/hide Instances
class DistanceDirection a whereSource
Methods
distance :: a -> a -> DoubleSource
direction :: a -> a -> DoubleSource
show/hide Instances
class Aggregation a b whereSource
Methods
avg :: a -> bSource
class Numeric a whereSource
Methods
length :: a -> DoubleSource
area :: a -> DoubleSource
show/hide Instances
class Centroid a b whereSource
Calculates the centroid of a object
Methods
centroid :: a -> bSource
show/hide Instances
Produced by Haddock version 2.4.2