diff options
Diffstat (limited to 'src/polyset.h')
-rw-r--r-- | src/polyset.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/polyset.h b/src/polyset.h index 8f23130..e80d182 100644 --- a/src/polyset.h +++ b/src/polyset.h @@ -24,6 +24,7 @@ public: PolySet(); ~PolySet(); + bool empty() const { return polygons.size() == 0; } void append_poly(); void append_vertex(double x, double y, double z = 0.0); void insert_vertex(double x, double y, double z = 0.0); |