terrahs-0.5: Simple library for GIS Programs in Haskell.Source codeContentsIndex
Algebras.Base.Operations
Synopsis
class Set a where
union :: [a] -> [a] -> [a]
intersection :: [a] -> [a] -> [a]
difference :: [a] -> [a] -> [a]
class Topology a b => TopologyOps 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
class TeRelations a b => Relations a b where
relation :: a -> b -> TeSpatialRelation
centroid :: Centroid a => a -> TePoint
distance :: TePoint -> TePoint -> Double
llength :: TeLine2D -> Double
area :: TePolygon -> Double
Documentation
class Set a whereSource
Methods
union :: [a] -> [a] -> [a]Source
intersection :: [a] -> [a] -> [a]Source
difference :: [a] -> [a] -> [a]Source
show/hide Instances
class Topology a b => TopologyOps 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
show/hide Instances
class TeRelations a b => Relations a b whereSource
Methods
relation :: a -> b -> TeSpatialRelationSource
show/hide Instances
centroid :: Centroid a => a -> TePointSource
distance :: TePoint -> TePoint -> DoubleSource
llength :: TeLine2D -> DoubleSource
Returns the length of a Line 2D.
area :: TePolygon -> DoubleSource
Returns the area of a TePolygon
Produced by Haddock version 2.4.2