geos.GEOSEquals ⇒ number
⏏
Tests if two geometries contain the same set of points in the plane.
Kind: global property of geos
Returns: number
- 1 on true, 0 on false, 2 on exception
Param | Type | Description |
---|---|---|
g1 | GEOSGeometry | Input geometry |
g2 | GEOSGeometry | Input geometry |
geos.GEOSEqualsExact ⇒ number
⏏
Determine pointwise equality of two geometries, by checking that they have identical structure and that each vertex of g2 is within the distance tolerance of the corresponding vertex in g1. Z and M values are ignored by GEOSEqualsExact, and this function may return true for inputs with different dimensionality. Unlike GEOSEquals(), geometries that are topologically equivalent but have different representations (e.g., LINESTRING (0 0, 1 1) and MULTILINESTRING ((0 0, 1 1)) ) are not considered equal by GEOSEqualsExact().
Kind: global property of geos
Returns: number
- 1 on true, 0 on false, 2 on exception
Param | Type | Description |
---|---|---|
g1 | GEOSGeometry | Input geometry |
g2 | GEOSGeometry | Input geometry |
tolerance | number | Tolerance to determine vertex equality |
geos.GEOSEqualsExact_r ⇒ number
⏏
Determine pointwise equality of two geometries, by checking that they have identical structure and that each vertex of g2 is within the distance tolerance of the corresponding vertex in g1. Z and M values are ignored by GEOSEqualsExact, and this function may return true for inputs with different dimensionality. Unlike GEOSEquals(), geometries that are topologically equivalent but have different representations (e.g., LINESTRING (0 0, 1 1) and MULTILINESTRING ((0 0, 1 1)) ) are not considered equal by GEOSEqualsExact().
Kind: global property of geos
Returns: number
- 1 on true, 0 on false, 2 on exception
Param | Type | Description |
---|---|---|
handle | GEOSContextHandle_t | - |
g1 | GEOSGeometry | Input geometry |
g2 | GEOSGeometry | Input geometry |
tolerance | number | Tolerance to determine vertex equality |
geos.GEOSEqualsIdentical ⇒ number
⏏
Determine pointwise equality of two geometries by checking that the structure, ordering, and values of all vertices are identical in all dimensions. NaN values are considered to be equal to other NaN values.
Kind: global property of geos
Returns: number
- 1 on true, 0 on false, 2 on exception
Param | Type | Description |
---|---|---|
g1 | GEOSGeometry | Input geometry |
g2 | GEOSGeometry | Input geometry |
geos.GEOSEqualsIdentical_r ⇒ number
⏏
Determine pointwise equality of two geometries by checking that the structure, ordering, and values of all vertices are identical in all dimensions. NaN values are considered to be equal to other NaN values.
Kind: global property of geos
Returns: number
- 1 on true, 0 on false, 2 on exception
Param | Type | Description |
---|---|---|
handle | GEOSContextHandle_t | - |
g1 | GEOSGeometry | Input geometry |
g2 | GEOSGeometry | Input geometry |
geos.GEOSEquals_r ⇒ number
⏏
Tests if two geometries contain the same set of points in the plane.
Kind: global property of geos
Returns: number
- 1 on true, 0 on false, 2 on exception
Param | Type | Description |
---|---|---|
handle | GEOSContextHandle_t | - |
g1 | GEOSGeometry | Input geometry |
g2 | GEOSGeometry | Input geometry |