diff --git a/src/geoflow/common.cpp b/src/geoflow/common.cpp index 192bab2..e27f923 100644 --- a/src/geoflow/common.cpp +++ b/src/geoflow/common.cpp @@ -352,6 +352,10 @@ bool MultiTriangleCollection::has_attributes() { return !attributes_.empty(); } +bool MultiTriangleCollection::has_attributes() const +{ + return !attributes_.empty(); +} std::vector& MultiTriangleCollection::get_tricollections() { diff --git a/src/geoflow/common.hpp b/src/geoflow/common.hpp index 4d30c74..f2dd992 100644 --- a/src/geoflow/common.hpp +++ b/src/geoflow/common.hpp @@ -163,6 +163,7 @@ class MultiTriangleCollection size_t tri_size() const; size_t attr_size() const; bool has_attributes(); + bool has_attributes() const; }; class SegmentCollection : public GeometryCollection>