Object

com.spark3d.spatialOperator

CenterCrossMatch

Related Doc: package spatialOperator

Permalink

object CenterCrossMatch

Object containing routines to perform cross match between two sets A & B based on the position of object centers.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. CenterCrossMatch
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

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. def CrossMatchCenter[A <: Shape3D, B <: Shape3D](rddA: RDD[A], rddB: RDD[B], epsilon: Double, returnType: String = "B")(implicit arg0: ClassTag[A], arg1: ClassTag[B]): RDD[_]

    Permalink

    Cross match 2 RDD based on the object centers.

    Cross match 2 RDD based on the object centers. You have to choice to return: (1) Elements of (A, B) matching (returnType="AB") (2) Elements of A matching B (returnType="A") (3) Elements of B matching A (returnType="B")

    Which one you should choose? That depends on what you need: (1) gives you all elements but is slow. (2) & (3) give you all elements only in one side but is faster.

    rddA

    : (RDD[A<:Shape3D]) RDD whose elements are Shape3D or any extension (Point3D, ...)

    rddB

    : (RDD[B<:Shape3D]) RDD whose elements are Shape3D or any extension (Point3D, ...)

    epsilon

    : (Double) Tolerance for the distance between 2 centers. Should have the same units as the center coordinates.

    returnType

    : (String) Kind of crossmatch to perform:

    • Elements of (A, B) matching (returnType="AB")
    • Elements of A matching B (returnType="A")
    • Elements of B matching A (returnType="B")
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def centerMatchAndReturnAB[A <: Shape3D, B <: Shape3D](iterA: Iterator[A], iterB: Iterator[B], epsilon: Double): Iterator[(A, B)]

    Permalink

    Perform a full cross match between partition A and partition B based on the object centers.

    Perform a full cross match between partition A and partition B based on the object centers.

    iterA

    : (Iterator[A]) Iterator containing elements of A in a partition

    iterB

    : (Iterator[B]) Iterator containing elements of B in the same partition

    epsilon

    : (Double) Tolerance for the distance between 2 centers. Should have the same units as the center coordinates.

    returns

    (Iterator[(A, B)]) iterator containing elements matching in both.

  7. def centerMatchAndReturnB[A <: Shape3D, B <: Shape3D](iterA: Iterator[A], iterB: Iterator[B], epsilon: Double): Iterator[B]

    Permalink

    Perform a cross match between partition A and partition B based on the object centers, and return elements of B which match with A.

    Perform a cross match between partition A and partition B based on the object centers, and return elements of B which match with A.

    iterA

    : (Iterator[A]) Iterator containing elements of A in a partition

    iterB

    : (Iterator[B]) Iterator containing elements of B in the same partition

    epsilon

    : (Double) Tolerance for the distance between 2 centers. Should have the same units as the center coordinates.

    returns

    (Iterator[B]) iterator containing elements of B matching with A.

  8. def clone(): AnyRef

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

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  13. def hashCode(): Int

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  18. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped