Skip to content
On this page

geos.GEOSEnvelope ⇒ number

Computes an envelope (bounding box) of a geometry.

Kind: Exported member
Returns: number - A newly allocated geometry pointer representing the envelope, or NULL on exception.
See: https://libgeos.org/doxygen/geos__c_8h.html#a3a5d7f5dcbdb489edddbb43374ece97c

ParamTypeDescription
gnumberThe geometry pointer to compute the envelope of.

geos.GEOSEnvelope_r ⇒ number

Computes an envelope (bounding box) of a geometry.

Kind: Exported member
Returns: number - A newly allocated geometry pointer representing the envelope, or NULL on exception.
See: https://libgeos.org/doxygen/geos__c_8h.html#a4b1b77abcf0b320bc625129ff5e6d1d6

ParamTypeDescription
handlenumberA pointer to the GEOS context handle.
gnumberThe geometry pointer to compute the envelope of.