isWithin method
Tests whether this IntersectionMatrix
is
TFF.
@return true
if the first Geometry
is within
the second
Implementation
bool isWithin() {
return isTrue(matrix[Location.INTERIOR][Location.INTERIOR]) &&
matrix[Location.INTERIOR][Location.EXTERIOR] == Dimension.FALSE &&
matrix[Location.BOUNDARY][Location.EXTERIOR] == Dimension.FALSE;
}