setAtLeast method

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

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

@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 setAtLeast(int row, int column, int minimumDimensionValue) {
  if (matrix[row][column] < minimumDimensionValue) {
    matrix[row][column] = minimumDimensionValue;
  }
}