Skip to content
On this page

geos.GEOSMinimumBoundingCircle ⇒ number

Returns a geometry which represents the "minimum bounding circle", the smallest circle that contains the input.

Kind: Exported member
Returns: number - A pointer to a GEOS geometry object representing the minimum bounding circle, or NULL on error.
See: https://libgeos.org/doxygen/geos__c_8h.html#af09ef325324bec3c1ccb981db52eec4f

ParamTypeDescription
geomnumberA pointer to a GEOS geometry object.
radiusnumberA pointer to a double that will store the radius of the circle.
centernumberA pointer to a GEOS geometry object that will store the center point of the circle.

geos.GEOSMinimumBoundingCircle_r ⇒ number

Returns a geometry which represents the "minimum bounding circle", the smallest circle that contains the input.

Kind: Exported member
Returns: number - A pointer to a GEOS geometry object representing the minimum bounding circle, or NULL on error.
See: https://libgeos.org/doxygen/geos__c_8h.html#af09ef325324bec3c1ccb981db52eec4f

ParamTypeDescription
handlenumberA pointer to a GEOS context handle.
geomnumberA pointer to a GEOS geometry object.
radiusnumberA pointer to a double that will store the radius of the circle.
centernumberA pointer to a GEOS geometry object that will store the center point of the circle.