Skip to content
On this page

geos.GEOSDifference ⇒ number

Computes a geometry that represents the point set difference of the input geometries.

Kind: Exported member
Returns: number - A pointer to the resulting geometry, or NULL if an exception was thrown.

ParamTypeDescription
ganumberA pointer to the first geometry.
gbnumberA pointer to the second geometry.

geos.GEOSDifferencePrec ⇒ number

Computes a geometry that represents the point set difference 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.

ParamTypeDescription
ganumberA pointer to the first geometry.
gbnumberA pointer to the second geometry.
gridSizenumberThe grid size for the precision model.

geos.GEOSDifferencePrec_r ⇒ number

Computes a geometry that represents the point set difference 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.

ParamTypeDescription
handlenumberA pointer to the GEOS context handle.
ganumberA pointer to the first geometry.
gbnumberA pointer to the second geometry.
gridSizenumberThe grid size for the precision model.

geos.GEOSDifference_r ⇒ number

Computes a geometry that represents the point set difference of the input geometries.

Kind: Exported member
Returns: number - A pointer to the resulting geometry, or NULL if an exception was thrown.

ParamTypeDescription
handlenumberA pointer to the GEOS context handle.
ganumberA pointer to the first geometry.
gbnumberA pointer to the second geometry.