v0.2.48..v0.2.49 changeset GeometryUtils.h
Garret Voltz edited this page Oct 2, 2019
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/util/GeometryUtils.h b/hoot-core/src/main/cpp/hoot/core/util/GeometryUtils.h
index ef8ad7c..a3511a9 100644
--- a/hoot-core/src/main/cpp/hoot/core/util/GeometryUtils.h
+++ b/hoot-core/src/main/cpp/hoot/core/util/GeometryUtils.h
@@ -94,8 +94,16 @@ public:
static OGREnvelope* toOGREnvelope(const geos::geom::Envelope& e);
+ /** Creates a bounds string in the format (minx,maxx,miny,maxy)
+ * from an envelope using the `writer.precision` value
+ */
static QString toString(const geos::geom::Envelope& e);
+ /** Creates a bounds string in the format (minx,maxx,miny,maxy)
+ * from an envelope using the `writer.precision` value
+ */
+ static QString toConfigString(const geos::geom::Envelope& e);
+
static geos::geom::Geometry* validateGeometry(const geos::geom::Geometry *g);
static geos::geom::Geometry* validateGeometryCollection(const geos::geom::GeometryCollection* gc);