Computes the geometric overlay of two {link Geometry}s. The overlay can be used to determine any boolean combination of the geometries.
- Version
1.7
- Companion
- class
Value members
Concrete methods
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.
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:
-
{link #INTERSECTION} - result has the dimension of the lowest input dimension
-
{link #UNION} - result has the dimension of the highest input dimension
-
{link #DIFFERENCE} - result has the dimension of the left-hand input
-
{link #SYMDIFFERENCE} - result has the dimension of the highest input dimension (since the symmetric Difference is the union of the differences).
- Value Params
- a
an input geometry
- b
an input geometry
- geomFact
the geometry factory being used for the operation return an empty atomic geometry of the appropriate dimension
- overlayOpCode
the code for the overlay operation being performed