Skip to content

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().

ParamTypeDescription
gGEOSGeometryThe 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().

ParamTypeDescription
handleGEOSContextHandle_t-
gGEOSGeometryThe geometry to calculate an envelope for