geos.GEOSUnion ⇒ number
⏏
Computes a union of two geometries.
Kind: Exported member
Returns: number
- A pointer to the resulting geometry, or NULL on exception.
Param | Type | Description |
---|---|---|
g1 | number | A pointer to the first geometry. |
g2 | number | A pointer to the second geometry. |
geos.GEOSUnionCascaded ⇒ number
⏏
Computes the union of a collection of polygonal geometries using an optimized algorithm.
Kind: Exported member
Returns: number
- The pointer to a GEOS geometry representing the union, or NULL on error.
See: https://libgeos.org/doxygen/classgeos_1_1operation_1_1geounion_1_1CascadedPolygonUnion.html
Param | Type | Description |
---|---|---|
g | number | The pointer to a GEOS geometry collection. |
geos.GEOSUnionCascaded_r ⇒ number
⏏
Computes the union of a collection of polygonal geometries using an optimized algorithm.
Kind: Exported member
Returns: number
- The pointer to a GEOS geometry representing the union, or NULL on error.
See: https://libgeos.org/doxygen/classgeos_1_1operation_1_1geounion_1_1CascadedPolygonUnion.html
Param | Type | Description |
---|---|---|
handle | number | A pointer to the GEOS context handle. |
g | number | The pointer to a GEOS geometry collection. |
geos.GEOSUnionPrec ⇒ number
⏏
Computes a union 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 |
---|---|---|
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.GEOSUnionPrec_r ⇒ number
⏏
Computes a union of two geometries using a specified precision model and context handle.
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.GEOSUnion_r ⇒ number
⏏
Computes a union of two geometries using a specified context handle.
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. |