diff --git a/MeshLib/PropertyVector.h b/MeshLib/PropertyVector.h index 7a2b2342c108ef2172ef0d4d08adef5b486bf143..70fd7dfdaedf3f8135040656585f18a11c47db34 100644 --- a/MeshLib/PropertyVector.h +++ b/MeshLib/PropertyVector.h @@ -59,6 +59,11 @@ public: return t; } + std::size_t size() const + { + return std::vector<PROP_VAL_TYPE>::size() / _tuple_size; + } + protected: /// @brief The constructor taking meta information for the data. /// @param property_name a string describing the property