class IntersectionMatrix extends Cloneable
- Alphabetic
- By Inheritance
- IntersectionMatrix
- Cloneable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new IntersectionMatrix(other: IntersectionMatrix)
Creates an
IntersectionMatrixwith the same elements asother.Creates an
IntersectionMatrixwith the same elements asother.- other
an
IntersectionMatrixto copy
- new IntersectionMatrix(elements: String)
Creates an
IntersectionMatrixwith the given dimension symbols.Creates an
IntersectionMatrixwith the given dimension symbols.- elements
a String of nine dimension symbols in row major order
- new IntersectionMatrix()
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- 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 firstGeometry- column
the column of this
IntersectionMatrix, indicating the interior, boundary or exterior of the secondGeometryreturn the dimension value at the given matrix position.
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def isContains: Boolean
Tests whether this
IntersectionMatrixis T*****FF*.Tests whether this
IntersectionMatrixis T*****FF*.return
trueif the firstGeometrycontains the second - def isCoveredBy: Boolean
Returns
trueif thisIntersectionMatrixisT*F**F***or*TF**F***or**FT*F***or**F*TF***Returns
trueif thisIntersectionMatrixisT*F**F***or*TF**F***or**FT*F***or**F*TF***return
trueif the firstGeometryis covered by the second - def isCovers: Boolean
Returns
trueif thisIntersectionMatrixisT*****FF*or*T****FF*or***T**FF*or****T*FF*Returns
trueif thisIntersectionMatrixisT*****FF*or*T****FF*or***T**FF*or****T*FF*return
trueif the firstGeometrycovers the second - def isCrosses(dimensionOfGeometryA: Int, dimensionOfGeometryB: Int): Boolean
Tests whether this geometry crosses the specified geometry.
Tests whether this geometry crosses the specified geometry.
The
crossespredicate 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
Geometryreturntrueif the twoGeometrys related by thisIntersectionMatrixcross.
- def isDisjoint: Boolean
Returns
trueif thisIntersectionMatrixis FF*FF****.Returns
trueif thisIntersectionMatrixis FF*FF****.return
trueif the twoGeometrys related by thisIntersectionMatrixare disjoint - def isEquals(dimensionOfGeometryA: Int, dimensionOfGeometryB: Int): Boolean
Tests whether the argument dimensions are equal and this
IntersectionMatrixmatches the pattern T*F**FFF*.Tests whether the argument dimensions are equal and this
IntersectionMatrixmatches 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
Geometryreturntrueif the twoGeometrys related by thisIntersectionMatrixare equal; theGeometrys must have the same dimension to be equal
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isIntersects: Boolean
Returns
trueifisDisjointreturns false.Returns
trueifisDisjointreturns false.return
trueif the twoGeometrys related by thisIntersectionMatrixintersect - def isOverlaps(dimensionOfGeometryA: Int, dimensionOfGeometryB: Int): Boolean
Returns
trueif thisIntersectionMatrixis <UL> <LI> T*T***T** (for two points or two surfaces) <LI> 1*T***T** (for two curves) </UL>.Returns
trueif thisIntersectionMatrixis <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
Geometryreturntrueif the twoGeometrys related by thisIntersectionMatrixoverlap. For this function to returntrue, theGeometrys must be two points, two curves or two surfaces.
- def isTouches(dimensionOfGeometryA: Int, dimensionOfGeometryB: Int): Boolean
Returns
trueif thisIntersectionMatrixis FT*******, F**T***** or F***T****.Returns
trueif thisIntersectionMatrixis FT*******, F**T***** or F***T****.- dimensionOfGeometryA
the dimension of the first
Geometry- dimensionOfGeometryB
the dimension of the second
Geometryreturntrueif the twoGeometrys related by thisIntersectionMatrixtouch; Returns false if bothGeometrys are points.
- def isWithin: Boolean
Tests whether this
IntersectionMatrixis T*F**F***.Tests whether this
IntersectionMatrixis T*F**F***.return
trueif the firstGeometryis within the second - def matches(requiredDimensionSymbols: String): Boolean
Returns whether the elements of this
IntersectionMatrixsatisfies the required dimension symbols.Returns whether the elements of this
IntersectionMatrixsatisfies 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}. returntrueif thisIntersectionMatrixmatches the required dimension symbols
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def set(dimensionSymbols: String): Unit
Changes the elements of this
IntersectionMatrixto the dimension symbols indimensionSymbols.Changes the elements of this
IntersectionMatrixto the dimension symbols indimensionSymbols.- dimensionSymbols
nine dimension symbols to which to set this
IntersectionMatrixs elements. Possible values are{T, F, * , 0, 1, 2}
- 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 firstGeometry- column
the column of this
IntersectionMatrix, indicating the interior, boundary or exterior of the secondGeometry- dimensionValue
the new value of the element
- def setAll(dimensionValue: Int): Unit
Changes the elements of this
IntersectionMatrixtodimensionValue.Changes the elements of this
IntersectionMatrixtodimensionValue.- dimensionValue
the dimension value to which to set this
IntersectionMatrixs elements. Possible values{TRUE, FALSE, DONTCARE, 0, 1, 2}.
- 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}.
- def setAtLeast(row: Int, column: Int, minimumDimensionValue: Int): Unit
Changes the specified element to
minimumDimensionValueif the element is less.Changes the specified element to
minimumDimensionValueif the element is less.- row
the row of this
IntersectionMatrix, indicating the interior, boundary or exterior of the firstGeometry- column
the column of this
IntersectionMatrix, indicating the interior, boundary or exterior of the secondGeometry- 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}.
- def setAtLeastIfValid(row: Int, column: Int, minimumDimensionValue: Int): Unit
If row >= 0 and column >= 0, changes the specified element to
minimumDimensionValueif the element is less.If row >= 0 and column >= 0, changes the specified element to
minimumDimensionValueif 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 firstGeometry- column
the column of this
IntersectionMatrix, indicating the interior, boundary or exterior of the secondGeometry- 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}.
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
Returns a nine-character
Stringrepresentation of thisIntersectionMatrix.Returns a nine-character
Stringrepresentation of thisIntersectionMatrix.return the nine dimension symbols of this
IntersectionMatrixin row-major order.- Definition Classes
- IntersectionMatrix → AnyRef → Any
- def transpose: IntersectionMatrix
Transposes this IntersectionMatrix.
Transposes this IntersectionMatrix.
return this
IntersectionMatrixas a convenience - final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()