geos.GEOSSymDifference ⇒ number
⏏
Computes the symmetric difference of two geometries.
Kind: Exported member
Returns: number
- A pointer to a new GEOSGeometry object representing the symmetric difference, or NULL on exception.
Param | Type | Description |
---|---|---|
g1 | number | A pointer to a GEOSGeometry object. |
g2 | number | A pointer to another GEOSGeometry object. |
geos.GEOSSymDifferencePrec ⇒ number
⏏
Computes the symmetric difference of two geometries with precision control.
Kind: Exported member
Returns: number
- A pointer to a new GEOSGeometry object representing the symmetric difference, or NULL on exception or invalid input.
Param | Type | Description |
---|---|---|
g1 | number | A pointer to a GEOSGeometry object. |
g2 | number | A pointer to another GEOSGeometry object. |
gridSize | number | The size of the grid used for snapping coordinates. Must be positive and non-zero. |
geos.GEOSSymDifferencePrec_r ⇒ number
⏏
Computes a symmetric difference of two geometries using a specified precision model.
Kind: Exported member
Returns: number
- A pointer to the resulting geometry, or NULL on exception.
Param | Type | Description |
---|---|---|
handle | number | A pointer to the GEOS context handle. |
g1 | number | A pointer to the first geometry. |
g2 | number | A pointer to the second geometry. |
gridsize | number | The precision grid size to use. |
geos.GEOSSymDifference_r ⇒ number
⏏
Computes the symmetric difference of two geometries in a thread-safe manner.
Kind: Exported member
Returns: number
- A pointer to a new GEOSGeometry object representing the symmetric difference, or NULL on exception.
Param | Type | Description |
---|---|---|
handle | number | A GEOSContextHandle_t object. |
g1 | number | A pointer to a GEOSGeometry object. |
g2 | number | A pointer to another GEOSGeometry object. |