get method
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.
@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
@return the dimension value at the given matrix position.
Implementation
int get(int row, int column) {
return matrix[row][column];
}