RTree

object RTree
Companion
class
trait Sum
trait Mirror
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Inherited from
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from
Mirror

Value members

Concrete methods

def apply[A](entries: Iterable[RTreeEntry[A]], nodeCapacity: Int): RTree[A]

Construct an RTree from a sequence of entries using STR packing.

Construct an RTree from a sequence of entries using STR packing.

Type Params
A

a type of values being put in the tree

Value Params
entries

the sequence of entries

nodeCapacity

the maximum number of children nodes (16 by default)

Returns

an RTree instance

def update[A](rtree: RTree[A], remove: Iterable[RTreeEntry[A]], insert: Iterable[RTreeEntry[A]], nodeCapacity: Int): RTree[A]

Update an RTree by withdrawing matched entries specified by the remove argument and adding entries from the insert argument, than repack resulting entries to a new RTree using STR packing.

Update an RTree by withdrawing matched entries specified by the remove argument and adding entries from the insert argument, than repack resulting entries to a new RTree using STR packing.

Type Params
A

a type of values being put in the tree

Value Params
insert

the sequence of entries to insert

nodeCapacity

the maximum number of children nodes (16 by default)

remove

the sequence of entries to remove

rtree

the RTree

Returns

an RTree instance