Computes the containsProperly spatial relationship predicate
for
PreparedPolygons relative to all other
Geometry classes.
Uses short-circuit tests and indexing to improve performance.
A Geometry A containsProperly another Geometry B iff
all points of B are contained in the Interior of A.
Equivalently, B is contained in A AND B does not intersect
the Boundary of A.
The advantage to using this predicate is that it can be computed
efficiently, with no need to compute topology at individual points.
In a situation with many geometries intersecting the boundary
of the target geometry, this can make a performance difference.