geos.GEOSIntersection ⇒ number
⏏
Computes a geometry that represents the point set intersection of the input geometries.
Kind: Exported member
Returns: number
- A pointer to the resulting geometry, or NULL if an exception was thrown.
Param | Type | Description |
---|---|---|
g1 | number | A pointer to the first geometry. |
g2 | number | A pointer to the second geometry. |
geos.GEOSIntersectionPrec ⇒ number
⏏
Computes a geometry that represents the point set intersection of the input geometries using a precision model.
Kind: Exported member
Returns: number
- A pointer to the resulting geometry, or NULL if an exception was thrown.
Param | Type | Description |
---|---|---|
g1 | number | A pointer to the first geometry. |
g2 | number | A pointer to the second geometry. |
gridSize | number | The grid size for the precision model. |
geos.GEOSIntersectionPrec_r ⇒ number
⏏
Computes a geometry that represents the point set intersection of the input geometries using a precision model.
Kind: Exported member
Returns: number
- A pointer to the resulting geometry, or NULL if an exception was thrown.
Param | Type | Description |
---|---|---|
handle | number | A pointer to the GEOS context handle. |
g1 | number | A pointer to the first geometry. |
g2 | number | A pointer to the second geometry. |
gridSize | number | The grid size for the precision model. |
geos.GEOSIntersection_r ⇒ number
⏏
Computes a geometry that represents the point set intersection of the input geometries.
Kind: Exported member
Returns: number
- A pointer to the resulting geometry, or NULL if an exception was thrown.
Param | Type | Description |
---|---|---|
handle | number | A pointer to the GEOS context handle. |
g1 | number | A pointer to the first geometry. |
g2 | number | A pointer to the second geometry. |