geos.GEOSEnvelope ⇒ GEOSGeometry
⏏
Returns minimum rectangular polygon or point that contains the geometry, or an empty point for empty inputs.
Kind: global property of geos
Returns: GEOSGeometry
- A newly allocated polygonal envelope or point. NULL on exception. Caller is responsible for freeing with GEOSGeom_destroy().
Param | Type | Description |
---|---|---|
g | GEOSGeometry | The geometry to calculate an envelope for |
geos.GEOSEnvelope_r ⇒ GEOSGeometry
⏏
Returns minimum rectangular polygon or point that contains the geometry, or an empty point for empty inputs.
Kind: global property of geos
Returns: GEOSGeometry
- A newly allocated polygonal envelope or point. NULL on exception. Caller is responsible for freeing with GEOSGeom_destroy().
Param | Type | Description |
---|---|---|
handle | GEOSContextHandle_t | - |
g | GEOSGeometry | The geometry to calculate an envelope for |