MBRContains(g1, g2)
is defined as,
Returns
1
or0
to indicate whether the minimum bounding rectangle of g1 contains the minimum bounding rectangle of g2. This tests the opposite relationship asMBRWithin()
.
MBRWithin(g1, g2)
is defined as,
Returns
1
or0
to indicate whether the minimum bounding rectangle of g1 is within the minimum bounding rectangle of g2. This tests the opposite relationship asMBRContains()
.
What exactly does contains
and within
mean in that context?