Skip to content

v0.2.52..v0.2.53 changeset SmallerOverlapExtractor.h

Garret Voltz edited this page Feb 12, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/algorithms/extractors/SmallerOverlapExtractor.h b/hoot-core/src/main/cpp/hoot/core/algorithms/extractors/SmallerOverlapExtractor.h
index 5373f86..a20d2aa 100644
--- a/hoot-core/src/main/cpp/hoot/core/algorithms/extractors/SmallerOverlapExtractor.h
+++ b/hoot-core/src/main/cpp/hoot/core/algorithms/extractors/SmallerOverlapExtractor.h
@@ -23,13 +23,14 @@
  * copyrights will be updated automatically.
  *
  * @copyright Copyright (C) 2005 VividSolutions (http://www.vividsolutions.com/)
- * @copyright Copyright (C) 2015, 2017, 2018, 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2017, 2018, 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
  */
 #ifndef SMALLEROVERLAPEXTRACTOR_H
 #define SMALLEROVERLAPEXTRACTOR_H
 
 // hoot
 #include <hoot/core/algorithms/extractors/FeatureExtractorBase.h>
+#include <hoot/core/util/Configurable.h>
 
 namespace hoot
 {
@@ -50,7 +51,7 @@ class Element;
  * The ideas were shamelessly taken from RoadMatcher, but reimplemented in C++ with Hootenanny
  * appropriate data structures.
  */
-class SmallerOverlapExtractor : public FeatureExtractorBase
+class SmallerOverlapExtractor : public FeatureExtractorBase, public Configurable
 {
 public:
 
@@ -65,6 +66,15 @@ public:
 
   virtual QString getDescription() const
   { return "Determines the overlap between two features focusing on the building with more overlap"; }
+
+  /**
+   * @see Configurable
+   */
+  virtual void setConfiguration(const Settings& conf);
+
+private:
+
+  bool _requireAreaForPolygonConversion;
 };
 
 }
Clone this wiki locally