v0.2.54..v0.2.55 changeset IntersectionOverUnionExtractor.cpp
Garret Voltz edited this page Aug 14, 2020
·
1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/algorithms/extractors/IntersectionOverUnionExtractor.cpp b/hoot-core/src/main/cpp/hoot/core/algorithms/extractors/IntersectionOverUnionExtractor.cpp
index e56b267..17784b1 100644
--- a/hoot-core/src/main/cpp/hoot/core/algorithms/extractors/IntersectionOverUnionExtractor.cpp
+++ b/hoot-core/src/main/cpp/hoot/core/algorithms/extractors/IntersectionOverUnionExtractor.cpp
@@ -22,17 +22,20 @@
* This will properly maintain the copyright information. DigitalGlobe
* copyrights will be updated automatically.
*
- * @copyright Copyright (C) 2019 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2019, 2020 DigitalGlobe (http://www.digitalglobe.com/)
*/
#include "IntersectionOverUnionExtractor.h"
// Hoot
#include <hoot/core/elements/OsmMap.h>
#include <hoot/core/elements/ElementConverter.h>
+#include <hoot/core/util/Factory.h>
namespace hoot
{
+HOOT_FACTORY_REGISTER(FeatureExtractor, IntersectionOverUnionExtractor)
+
double IntersectionOverUnionExtractor::extract(
const OsmMap& map, const ConstElementPtr& target, const ConstElementPtr& candidate) const
{