disjoint method
Tests whether this geometry is disjoint from the argument geometry.
The disjoint
predicate has the following equivalent definitions:
- The two geometries have no point in common
- The DE-9IM Intersection Matrix for the two geometries matches
[FF*FF****]
! g.intersects(this) = true
(disjoint
is the inverse ofintersects
)
@param g the Geometry
with which to compare this Geometry
@return true
if the two Geometry
s are
disjoint
@see Geometry#intersects
Implementation
bool disjoint(Geometry g) {
return !intersects(g);
}