Safe Haskell | None |
---|---|
Language | Haskell2010 |
- foldr :: (STRTreeLike t, Storable a) => (a -> b -> b) -> b -> t a -> b
- toList :: Storable a => STRTree a -> [a]
- toVector :: Storable a => STRTree a -> Vector a
- fromList :: Storable b => [(Geometry a, b)] -> STRTree b
- empty :: STRTreeBuilder a
- build :: STRTreeBuilder a -> STRTree a
- insert :: Storable a => Geometry b -> a -> STRTreeBuilder a -> ()
- fromFoldable :: (Foldable f, Storable b) => f (Geometry a, b) -> STRTree b
- fromFoldable_ :: (Foldable f, Storable b) => Int -> f (Geometry a, b) -> STRTree b
- lookup :: Storable b => Geometry a -> STRTree b -> Vector b
Documentation
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.