changeset 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 f9b6e99e0520
children 82d03c9661f9
files data/model/PathModel.h
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
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;
     }