Skip to content

v0.2.49..v0.2.50 changeset GeometryUtils.h

Garret Voltz edited this page Nov 6, 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 a3511a9..1a80686 100644
--- a/hoot-core/src/main/cpp/hoot/core/util/GeometryUtils.h
+++ b/hoot-core/src/main/cpp/hoot/core/util/GeometryUtils.h
@@ -144,6 +144,14 @@ public:
    * @return a bounding box map
    */
   static OsmMapPtr createMapFromBounds(const geos::geom::Envelope& bounds);
+
+  /**
+   * Creates a bounding rectangle within the specified map
+   * @param map the map to insert the bounding rectangle in
+   * @param bounds bounding box
+   * @return ElementId of the way created
+   */
+  static ElementId createBoundsInMap(const OsmMapPtr& map, const geos::geom::Envelope& bounds);
 };
 
 }
Clone this wiki locally