geos.GEOSMinimumRotatedRectangle ⇒ number
⏏
Computes the minimum rotated rectangle (MRR) of a geometry. The MRR is similar to an envelope, but not necessarily aligned with coordinate axes. It has minimum area among all rectangles enclosing its input geometry.
Kind: Exported member
Returns: number
- A pointer to a new GEOSGeometry object representing the MRR, or NULL on exception.
Param | Type | Description |
---|---|---|
geom | number | A pointer to a GEOSGeometry object. |
geos.GEOSMinimumRotatedRectangle_r ⇒ number
⏏
Computes the minimum-area rotated rectangle containing a geometry.
Kind: Exported member
Returns: number
- The pointer to the output geometry, or NULL on exception.
Param | Type | Description |
---|---|---|
handle | number | A pointer to the GEOS context handle. |
g | number | The pointer to the input geometry. |