Class

com.spark3d.spatialPartitioning

SpatialPartitioner

Related Doc: package spatialPartitioning

Permalink

abstract class SpatialPartitioner extends Partitioner with Serializable

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.

Linear Supertypes
Partitioner, Serializable, Serializable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SpatialPartitioner
  2. Partitioner
  3. Serializable
  4. Serializable
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SpatialPartitioner(grids: List[Envelope])

    Permalink

    grids

    : (List[Shape3D]) List of Shape3D objects which partition the space.

Abstract Value Members

  1. abstract def numPartitions: Int

    Permalink
    Definition Classes
    Partitioner

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  10. def getPartition(key: Any): Int

    Permalink

    Method to return the index of a partition

    Method to return the index of a partition

    key

    : (Any) The Key of the partition (Key/Value)

    returns

    (Int) The key of the partition as Int.

    Definition Classes
    SpatialPartitioner → Partitioner
  11. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  12. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  13. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  14. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  15. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. def placeObject[T <: Shape3D](spatialObject: T): Iterator[(Int, T)]

    Permalink

    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.

    spatialObject

    : (T<:Shape3D) Object of type T = Shape3D, or any extension like Point3D, Sphere, ...

    returns

    (Iterator[Tuple2[Int, T]]) Iterator over a tuple (Key, Object). Key represents the partition number to which the spatialObject T belongs to.

  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  18. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  19. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  20. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Partitioner

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped