class IntersectionMatrix extends Cloneable

Linear Supertypes
Cloneable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IntersectionMatrix
  2. Cloneable
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new IntersectionMatrix(other: IntersectionMatrix)

    Creates an IntersectionMatrix with the same elements as other.

    Creates an IntersectionMatrix with the same elements as other.

    other

    an IntersectionMatrix to copy

  2. new IntersectionMatrix(elements: String)

    Creates an IntersectionMatrix with the given dimension symbols.

    Creates an IntersectionMatrix with the given dimension symbols.

    elements

    a String of nine dimension symbols in row major order

  3. new IntersectionMatrix()

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def add(im: IntersectionMatrix): Unit

    Adds one matrix to another.

    Adds one matrix to another. Addition is defined by taking the maximum dimension value of each position in the summand matrices.

    im

    the matrix to add

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  7. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  8. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  9. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  10. def get(row: Int, column: Int): Int

    Returns the value of one of this matrix entries.

    Returns the value of one of this matrix entries. The value of the provided index is one of the values from the {link Location} class. The value returned is a constant from the {link Dimension} class.

    row

    the row of this IntersectionMatrix, indicating the interior, boundary or exterior of the first Geometry

    column

    the column of this IntersectionMatrix, indicating the interior, boundary or exterior of the second Geometry return the dimension value at the given matrix position.

  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  12. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  13. def isContains: Boolean

    Tests whether this IntersectionMatrix is T*****FF*.

    Tests whether this IntersectionMatrix is T*****FF*.

    return true if the first Geometry contains the second

  14. def isCoveredBy: Boolean

    Returns true if this IntersectionMatrix is T*F**F*** or *TF**F*** or **FT*F*** or **F*TF***

    Returns true if this IntersectionMatrix is T*F**F*** or *TF**F*** or **FT*F*** or **F*TF***

    return true if the first Geometry is covered by the second

  15. def isCovers: Boolean

    Returns true if this IntersectionMatrix is T*****FF* or *T****FF* or ***T**FF* or ****T*FF*

    Returns true if this IntersectionMatrix is T*****FF* or *T****FF* or ***T**FF* or ****T*FF*

    return true if the first Geometry covers the second

  16. def isCrosses(dimensionOfGeometryA: Int, dimensionOfGeometryB: Int): Boolean

    Tests whether this geometry crosses the specified geometry.

    Tests whether this geometry crosses the specified geometry.

    The crosses predicate has the following equivalent definitions:

    • The geometries have some but not all interior points in common.
    • The DE-9IM Intersection Matrix for the two geometries is
    • T*T****** (for P/L, P/A, and L/A situations)
    • T*****T** (for L/P, L/A, and A/L situations)
    • 0******** (for L/L situations)

    For any other combination of dimensions this predicate returns false.

    The SFS defined this predicate only for P/L, P/A, L/L, and L/A situations. JTS extends the definition to apply to L/P, A/P and A/L situations as well. This makes the relation symmetric.

    dimensionOfGeometryA

    the dimension of the first Geometry

    dimensionOfGeometryB

    the dimension of the second Geometry return true if the two Geometrys related by this IntersectionMatrix cross.

  17. def isDisjoint: Boolean

    Returns true if this IntersectionMatrix is FF*FF****.

    Returns true if this IntersectionMatrix is FF*FF****.

    return true if the two Geometrys related by this IntersectionMatrix are disjoint

  18. def isEquals(dimensionOfGeometryA: Int, dimensionOfGeometryB: Int): Boolean

    Tests whether the argument dimensions are equal and this IntersectionMatrix matches the pattern T*F**FFF*.

    Tests whether the argument dimensions are equal and this IntersectionMatrix matches the pattern T*F**FFF*.

    Note: This pattern differs from the one stated in Simple feature access - Part 1: Common architecture. That document states the pattern as TFFFTFFFT. This would specify that two identical POINTs are not equal, which is not desirable behaviour. The pattern used here has been corrected to compute equality in this situation.

    dimensionOfGeometryA

    the dimension of the first Geometry

    dimensionOfGeometryB

    the dimension of the second Geometry return true if the two Geometrys related by this IntersectionMatrix are equal; the Geometrys must have the same dimension to be equal

  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. def isIntersects: Boolean

    Returns true if isDisjoint returns false.

    Returns true if isDisjoint returns false.

    return true if the two Geometrys related by this IntersectionMatrix intersect

  21. def isOverlaps(dimensionOfGeometryA: Int, dimensionOfGeometryB: Int): Boolean

    Returns true if this IntersectionMatrix is <UL> <LI> T*T***T** (for two points or two surfaces) <LI> 1*T***T** (for two curves) </UL>.

    Returns true if this IntersectionMatrix is <UL> <LI> T*T***T** (for two points or two surfaces) <LI> 1*T***T** (for two curves) </UL>.

    dimensionOfGeometryA

    the dimension of the first Geometry

    dimensionOfGeometryB

    the dimension of the second Geometry return true if the two Geometrys related by this IntersectionMatrix overlap. For this function to return true, the Geometrys must be two points, two curves or two surfaces.

  22. def isTouches(dimensionOfGeometryA: Int, dimensionOfGeometryB: Int): Boolean

    Returns true if this IntersectionMatrix is FT*******, F**T***** or F***T****.

    Returns true if this IntersectionMatrix is FT*******, F**T***** or F***T****.

    dimensionOfGeometryA

    the dimension of the first Geometry

    dimensionOfGeometryB

    the dimension of the second Geometry return true if the two Geometry s related by this IntersectionMatrix touch; Returns false if both Geometrys are points.

  23. def isWithin: Boolean

    Tests whether this IntersectionMatrix is T*F**F***.

    Tests whether this IntersectionMatrix is T*F**F***.

    return true if the first Geometry is within the second

  24. def matches(requiredDimensionSymbols: String): Boolean

    Returns whether the elements of this IntersectionMatrix satisfies the required dimension symbols.

    Returns whether the elements of this IntersectionMatrix satisfies the required dimension symbols.

    requiredDimensionSymbols

    nine dimension symbols with which to compare the elements of this IntersectionMatrix. Possible values are {T, F, * , 0, 1, 2}. return true if this IntersectionMatrix matches the required dimension symbols

  25. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  28. def set(dimensionSymbols: String): Unit

    Changes the elements of this IntersectionMatrix to the dimension symbols in dimensionSymbols.

    Changes the elements of this IntersectionMatrix to the dimension symbols in dimensionSymbols.

    dimensionSymbols

    nine dimension symbols to which to set this IntersectionMatrix s elements. Possible values are {T, F, * , 0, 1, 2}

  29. def set(row: Int, column: Int, dimensionValue: Int): Unit

    Changes the value of one of this IntersectionMatrixs elements.

    Changes the value of one of this IntersectionMatrixs elements.

    row

    the row of this IntersectionMatrix, indicating the interior, boundary or exterior of the first Geometry

    column

    the column of this IntersectionMatrix, indicating the interior, boundary or exterior of the second Geometry

    dimensionValue

    the new value of the element

  30. def setAll(dimensionValue: Int): Unit

    Changes the elements of this IntersectionMatrix to dimensionValue .

    Changes the elements of this IntersectionMatrix to dimensionValue .

    dimensionValue

    the dimension value to which to set this IntersectionMatrix s elements. Possible values {TRUE, FALSE, DONTCARE, 0, 1, 2} .

  31. def setAtLeast(minimumDimensionSymbols: String): Unit

    For each element in this IntersectionMatrix, changes the element to the corresponding minimum dimension symbol if the element is less.

    For each element in this IntersectionMatrix, changes the element to the corresponding minimum dimension symbol if the element is less.

    minimumDimensionSymbols

    nine dimension symbols with which to compare the elements of this IntersectionMatrix. The order of dimension values from least to greatest is {DONTCARE, TRUE, FALSE, 0, 1, 2} .

  32. def setAtLeast(row: Int, column: Int, minimumDimensionValue: Int): Unit

    Changes the specified element to minimumDimensionValue if the element is less.

    Changes the specified element to minimumDimensionValue if the element is less.

    row

    the row of this IntersectionMatrix , indicating the interior, boundary or exterior of the first Geometry

    column

    the column of this IntersectionMatrix , indicating the interior, boundary or exterior of the second Geometry

    minimumDimensionValue

    the dimension value with which to compare the element. The order of dimension values from least to greatest is {DONTCARE, TRUE, FALSE, 0, 1, 2}.

  33. def setAtLeastIfValid(row: Int, column: Int, minimumDimensionValue: Int): Unit

    If row >= 0 and column >= 0, changes the specified element to minimumDimensionValue if the element is less.

    If row >= 0 and column >= 0, changes the specified element to minimumDimensionValue if the element is less. Does nothing if row <0 or column < 0.

    row

    the row of this IntersectionMatrix , indicating the interior, boundary or exterior of the first Geometry

    column

    the column of this IntersectionMatrix , indicating the interior, boundary or exterior of the second Geometry

    minimumDimensionValue

    the dimension value with which to compare the element. The order of dimension values from least to greatest is {DONTCARE, TRUE, FALSE, 0, 1, 2}.

  34. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  35. def toString(): String

    Returns a nine-character String representation of this IntersectionMatrix .

    Returns a nine-character String representation of this IntersectionMatrix .

    return the nine dimension symbols of this IntersectionMatrix in row-major order.

    Definition Classes
    IntersectionMatrix → AnyRef → Any
  36. def transpose: IntersectionMatrix

    Transposes this IntersectionMatrix.

    Transposes this IntersectionMatrix.

    return this IntersectionMatrix as a convenience

  37. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  38. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  39. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Cloneable

Inherited from AnyRef

Inherited from Any

Ungrouped