geos-0.1.1.2: Bindings for GEOS.

Safe HaskellNone
LanguageHaskell2010

Data.Geometry.Geos.STRTree

Synopsis

Documentation

foldr :: (STRTreeLike t, Storable a) => (a -> b -> b) -> b -> t a -> b Source #

toList :: Storable a => STRTree a -> [a] Source #

toVector :: Storable a => STRTree a -> Vector a Source #

fromList :: Storable b => [(Geometry a, b)] -> STRTree b Source #

empty :: STRTreeBuilder a Source #

build :: STRTreeBuilder a -> STRTree a Source #

insert :: Storable a => Geometry b -> a -> STRTreeBuilder a -> () Source #

fromFoldable :: (Foldable f, Storable b) => f (Geometry a, b) -> STRTree b Source #

fromFoldable creates an STRTree with a default node capacity of 10. For finer-grained control over the node capacity, fromFoldable_ accepts a node-capacity argument.

fromFoldable_ :: (Foldable f, Storable b) => Int -> f (Geometry a, b) -> STRTree b Source #

lookup :: Storable b => Geometry a -> STRTree b -> Vector b Source #