: (List[Shape3D]) List of Shape3D objects which partition the space.
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.
Method to place a spatialObject (could a Point3D, a Sphere, and so on) on a grid.
Method to place a spatialObject (could a Point3D, a Sphere, and so on) on a grid. In practice it will assign a key (Int) to the spatialObject corresponding the partition index. This method must be specifically implemented for each class extending SpatialPartitioner.
: (T<:Shape3D) Object of type T = Shape3D, or any extension like Point3D, Sphere, ...
(Iterator[Tuple2[Int, T]]) Iterator over a tuple (Key, Object). Key represents the partition number to which the spatialObject T belongs to.
Abstract class for partitioning the 3D space. This class extends the Spark Partitioner class, and any new 3D partitioner must extend in turn the SpatialPartitioner class.