geos.GEOSEquals ⇒ number
⏏
Tests whether two geometries are topologically equal.
Kind: Exported member
Returns: number
- 1 if they are equal, 0 if they are not, or -1 on error
See: GEOSEquals
Param | Type | Description |
---|---|---|
g1 | number | A pointer to a GEOSGeometry object |
g2 | number | A pointer to another GEOSGeometry object |
geos.GEOSEqualsExact ⇒ number
⏏
Tests whether two geometries are exactly equal, up to a specified tolerance.
Kind: Exported member
Returns: number
- 1 if equal, 0 if not, -1 on exception.
Param | Type | Description |
---|---|---|
g1 | number | The first geometry to compare. |
g2 | number | The second geometry to compare. |
tolerance | number | The maximum distance between any pair of points that are considered equal. |
geos.GEOSEqualsExact_r ⇒ number
⏏
Tests whether two geometries are exactly equal, up to a specified tolerance.
Kind: Exported member
Returns: number
- 1 if equal, 0 if not, -1 on exception.
Param | Type | Description |
---|---|---|
handle | number | A pointer to the GEOS context handle. |
g1 | number | The first geometry to compare. |
g2 | number | The second geometry to compare. |
tolerance | number | The maximum distance between any pair of points that are considered equal. |
geos.GEOSEquals_r ⇒ number
⏏
Tests whether two geometries are topologically equal.
Kind: Exported member
Returns: number
- 1 if equal, 0 if not, -1 on exception.
Param | Type | Description |
---|---|---|
handle | number | A pointer to the GEOS context handle. |
g1 | number | The first geometry to compare. |
g2 | number | The second geometry to compare. |