diff data/model/PathModel.h @ 1670:623231712470 single-point

Add getPointCount, used in debug mode by AlignmentModel
author Chris Cannam
date Wed, 27 Mar 2019 11:26:22 +0000
parents a77a7e8c085c
children dfcd05e8bd2f
line wrap: on
line diff
--- a/data/model/PathModel.h	Wed Mar 27 11:26:06 2019 +0000
+++ b/data/model/PathModel.h	Wed Mar 27 11:26:22 2019 +0000
@@ -115,6 +115,9 @@
     /**
      * Query methods.
      */
+    int getPointCount() const {
+        return int(m_points.size());
+    }
     const PointList &getPoints() const {
         return m_points;
     }