geos.GEOSUnion ⇒ GEOSGeometry ⏏
Returns the union of two geometries A and B: the set of points that fall in A or within B.
Kind: global property of geos
Returns: GEOSGeometry - A newly allocated geometry of the union. NULL on exception. Caller is responsible for freeing with GEOSGeom_destroy().
| Param | Type | Description |
|---|---|---|
| ga | GEOSGeometry | geometry A |
| gb | GEOSGeometry | geometry B |
geos.GEOSUnionCascaded ⇒ GEOSGeometry ⏏
GEOSGeometry ⏏Deprecated
Kind: global property of geos
Returns: GEOSGeometry - GEOSGeometry*
| Param | Type | Description |
|---|---|---|
| g | GEOSGeometry | - |
geos.GEOSUnionCascaded_r ⇒ GEOSGeometry ⏏
GEOSGeometry ⏏Deprecated
Kind: global property of geos
Returns: GEOSGeometry - GEOSGeometry*
| Param | Type | Description |
|---|---|---|
| handle | GEOSContextHandle_t | - |
| g | GEOSGeometry | - |
geos.GEOSUnionPrec ⇒ GEOSGeometry ⏏
Returns the union of two geometries A and B: the set of points that fall in A or within B. All the vertices of the output geometry must fall on the grid defined by the gridSize, and the output will be a valid geometry.
Kind: global property of geos
Returns: GEOSGeometry - A newly allocated geometry of the union. NULL on exception. Caller is responsible for freeing with GEOSGeom_destroy().
| Param | Type | Description |
|---|---|---|
| ga | GEOSGeometry | one of the geometries |
| gb | GEOSGeometry | the other geometry |
| gridSize | number | the cell size of the precision grid |
geos.GEOSUnionPrec_r ⇒ GEOSGeometry ⏏
Returns the union of two geometries A and B: the set of points that fall in A or within B. All the vertices of the output geometry must fall on the grid defined by the gridSize, and the output will be a valid geometry.
Kind: global property of geos
Returns: GEOSGeometry - A newly allocated geometry of the union. NULL on exception. Caller is responsible for freeing with GEOSGeom_destroy().
| Param | Type | Description |
|---|---|---|
| handle | GEOSContextHandle_t | - |
| g1 | GEOSGeometry | one of the geometries |
| g2 | GEOSGeometry | the other geometry |
| gridSize | number | the cell size of the precision grid |
geos.GEOSUnion_r ⇒ GEOSGeometry ⏏
Returns the union of two geometries A and B: the set of points that fall in A or within B.
Kind: global property of geos
Returns: GEOSGeometry - A newly allocated geometry of the union. NULL on exception. Caller is responsible for freeing with GEOSGeom_destroy().
| Param | Type | Description |
|---|---|---|
| handle | GEOSContextHandle_t | - |
| g1 | GEOSGeometry | geometry A |
| g2 | GEOSGeometry | geometry B |