Creates an empty result geometry of the appropriate dimension, based on the given overlay operation and the dimensions of the inputs. The created geometry is always an atomic geometry, not a collection.
The empty result is constructed using the following rules:
- INTERSECTION - result has the dimension of the lowest input dimension
- UNION - result has the dimension of the highest input dimension
- DIFFERENCE - result has the dimension of the left-hand input
- SYMDIFFERENCE - result has the dimension of the highest input dimension (since the symmetric Difference is the union of the differences).
-
Parameters:
-
overlayOpCode - overlayOpCode the code for the overlay operation being performed
-
a - a an input geometry
-
b - b an input geometry
-
geomFact - geomFact the geometry factory being used for the operation
-
Returns:
-
an empty atomic geometry of the appropriate dimension