com.astrolabsoftware.spark3d.spatialPartitioning
Gets the partitions which are the neighbors of the partitions which contain the input object.
Gets the partitions which are the neighbors of the partitions which contain the input object.
input object for which the neighbors are to be found
list of Tuple of neighbor partitions and their index/partition ID's
Method to return the index of a partition
Method to return the index of a partition
: (Any) The Key of the partition (Key/Value)
(Int) The key of the partition as Int.
Gets the partitions which contain the input object.
Gets the partitions which contain the input object.
input object for which the containment is to be found
list of Tuple of containing partitions and their index/partition ID's
Gets the partitions which are the neighbors to the input partition.
Gets the partitions which are the neighbors to the input partition. Useful when getting secondary neighbors (neighbors to neighbor) of the queryObject.
The boundary of the Node for which neighbors are to be found.
The index/partition ID of the containingNode
list of Tuple of secondary neighbor partitions and their index/partition IDs
Get the number of partitions in this partitioning
Get the number of partitions in this partitioning
the number of partitions
Gets the iterator on tuple leaf nodes (partitions) which intersects, contains or are contained by the input object.
Gets the iterator on tuple leaf nodes (partitions) which intersects, contains or are contained by the input object.
: (T<:Shape3D) Shape3D instance (or any extension) representing objects to put on the grid.
(Iterator[Tuple2[Int, T]) Iterable over a Tuple * of (Int, T) where Int is the partition index, and T the input object.