Skip to content

geos.GEOSMinimumBoundingCircle ⇒ GEOSGeometry

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

Kind: global property of geos
Returns: GEOSGeometry - The circle geometry or NULL on exception Caller is responsible for freeing with GEOSGeom_destroy().

ParamTypeDescription
gGEOSGeometryThe input geometry
radiusNumberPointerPointer will be filled with output radius.
centerGEOSGeometryPointer will be filled with output circle center. Caller must free.

geos.GEOSMinimumBoundingCircle_r ⇒ GEOSGeometry

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

Kind: global property of geos
Returns: GEOSGeometry - The circle geometry or NULL on exception Caller is responsible for freeing with GEOSGeom_destroy().

ParamTypeDescription
handleGEOSContextHandle_t-
gGEOSGeometryThe input geometry
radiusNumberPointerPointer will be filled with output radius.
centerGEOSGeometryPointer will be filled with output circle center. Caller must free.