ext/geos_c_impl/factory.h in rgeo-0.1.13 vs ext/geos_c_impl/factory.h in rgeo-0.1.14
- old
+ new
@@ -70,10 +70,13 @@
int srid;
int buffer_resolution;
} RGeo_FactoryData;
#define RGEO_FACTORYFLAGS_LENIENT_MULTIPOLYGON 1
+#define RGEO_FACTORYFLAGS_SUPPORTS_Z 2
+#define RGEO_FACTORYFLAGS_SUPPORTS_M 4
+#define RGEO_FACTORYFLAGS_SUPPORTS_Z_OR_M 6
// Wrapped structure for Geometry objects.
// Includes a handle to the underlying GEOS geometry itself (which could
// be null for an uninitialized geometry).
@@ -194,10 +197,10 @@
The two given geometries MUST be of types backed directly by
coordinate sequences-- i.e. points or line strings.
Returns Qtrue if the two coordinate sequences are equal, Qfalse
if they are inequal, or Qnil if an error occurs.
*/
-VALUE rgeo_geos_coordseqs_eql(GEOSContextHandle_t context, const GEOSGeometry* geom1, const GEOSGeometry* geom2);
+VALUE rgeo_geos_coordseqs_eql(GEOSContextHandle_t context, const GEOSGeometry* geom1, const GEOSGeometry* geom2, char check_z);
/*
Compares the ruby classes and geometry factories of the two given ruby
objects. Returns Qtrue if everything is equal (that is, the two objects
are of the same type and factory), or Qfalse otherwise.