Skip to content

v0.2.54..v0.2.55 changeset Histogram.h

Garret Voltz edited this page Aug 14, 2020 · 1 revision
diff --git a/hoot-core/src/main/cpp/hoot/core/algorithms/extractors/Histogram.h b/hoot-core/src/main/cpp/hoot/core/algorithms/extractors/Histogram.h
index bfbaef4..53e4452 100644
--- a/hoot-core/src/main/cpp/hoot/core/algorithms/extractors/Histogram.h
+++ b/hoot-core/src/main/cpp/hoot/core/algorithms/extractors/Histogram.h
@@ -22,7 +22,7 @@
  * This will properly maintain the copyright information. DigitalGlobe
  * copyrights will be updated automatically.
  *
- * @copyright Copyright (C) 2015, 2016, 2017, 2018 DigitalGlobe (http://www.digitalglobe.com/)
+ * @copyright Copyright (C) 2015, 2016, 2017, 2018, 2020 DigitalGlobe (http://www.digitalglobe.com/)
  */
 #ifndef HISTOGRAM_H
 #define HISTOGRAM_H
@@ -50,6 +50,8 @@ public:
 
   const std::vector<double>& getAllBins() const { return _bins; }
 
+  size_t numBins() const { return _bins.size(); }
+
   void addAngle(Radians theta, double length);
 
   size_t getBin(Radians theta);
Clone this wiki locally