Commit bad46e4d authored by Dan Baston's avatar Dan Baston

Add comment explaining GEOSEqualsExact

Closes #731
parent c79068d2
Pipeline #28811259 passed with stage
in 20 minutes and 3 seconds
......@@ -1666,10 +1666,19 @@ extern char GEOS_DLL GEOSWithin(const GEOSGeometry* g1, const GEOSGeometry* g2);
extern char GEOS_DLL GEOSContains(const GEOSGeometry* g1, const GEOSGeometry* g2);
extern char GEOS_DLL GEOSOverlaps(const GEOSGeometry* g1, const GEOSGeometry* g2);
extern char GEOS_DLL GEOSEquals(const GEOSGeometry* g1, const GEOSGeometry* g2);
extern char GEOS_DLL GEOSEqualsExact(const GEOSGeometry* g1, const GEOSGeometry* g2, double tolerance);
extern char GEOS_DLL GEOSCovers(const GEOSGeometry* g1, const GEOSGeometry* g2);
extern char GEOS_DLL GEOSCoveredBy(const GEOSGeometry* g1, const GEOSGeometry* g2);
/**
* Determine pointwise equivalence of two geometries, by checking if each vertex of g2 is
* within tolerance of the corresponding vertex in g1.
* 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 equivalent by GEOSEqualsExact.
* returns 2 on exception, 1 on true, 0 on false
*/
extern char GEOS_DLL GEOSEqualsExact(const GEOSGeometry* g1, const GEOSGeometry* g2, double tolerance);
/************************************************************************
*
* Prepared Geometry Binary predicates - return 2 on exception, 1 on true, 0 on false
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment