setAtLeastIfValid method

void setAtLeastIfValid(
  1. int row,
  2. int column,
  3. int minimumDimensionValue
)

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.

@param row the row of this IntersectionMatrix , indicating the interior, boundary or exterior of the first Geometry @param column the column of this IntersectionMatrix , indicating the interior, boundary or exterior of the second Geometry @param 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}.

Implementation

void setAtLeastIfValid(int row, int column, int minimumDimensionValue) {
  if (row >= 0 && column >= 0) {
    setAtLeast(row, column, minimumDimensionValue);
  }
}