geos.GEOSMinimumWidth ⇒ number
⏏
Computes the minimum width of a geometry. The minimum width is the smallest distance between two parallel lines that contain the geometry.
Kind: Exported member
Returns: number
- A pointer to a LineString containing two points defining the minimum width line segment, or NULL on exception.
Param | Type | Description |
---|---|---|
g | number | The input geometry pointer. |
geos.GEOSMinimumWidth_r ⇒ number
⏏
Computes the minimum width of a geometry in a reentrant way. The minimum width is the smallest distance between two parallel lines that contain the geometry.
Kind: Exported member
Returns: number
- A pointer to a LineString containing two points defining the minimum width line segment, or NULL on exception.
Param | Type | Description |
---|---|---|
handle | number | The context handle pointer to use for error reporting. |
g | number | The input geometry pointer. |