Test cases for PreparedGeometry predicates using GeometryCollections as test geometry.
This tests the various combinations of target geometry and predicate which support
GCs as the test geometry.
org.locationtech.jtstest.geomop.PreparedGeometryOperation
Box against GC
POLYGON ((0 0, 0 100, 200 100, 200 0, 0 0))
GEOMETRYCOLLECTION (POLYGON ((50 160, 110 60, 150 160, 50 160)),
LINESTRING (50 40, 170 120))
true
false
false
Box against GC, with containment
POLYGON ((0 0, 0 200, 200 200, 200 0, 0 0))
GEOMETRYCOLLECTION (POLYGON ((50 160, 110 60, 150 160, 50 160)),
LINESTRING (50 40, 170 120))
true
true
true
Polygon-with-hole against GC
POLYGON ((0 0, 0 270, 200 270, 200 0, 0 0),
(30 210, 170 210, 60 20, 30 210))
GEOMETRYCOLLECTION (POLYGON ((50 160, 110 60, 150 160, 50 160)),
LINESTRING (50 40, 170 120))
true
false
Linestring against GC
LINESTRING (20 90, 90 190, 170 50)
GEOMETRYCOLLECTION (POLYGON ((50 160, 110 60, 150 160, 50 160)),
LINESTRING (50 40, 170 120))
true
Linestring against GC, with containment
LINESTRING (20 20, 100 100, 180 20)
GEOMETRYCOLLECTION (LINESTRING (40 40, 80 80), POINT (120 80))
true