Minor improvements in diamonds.py example
[linpy.git] / pypol / geometry.py
index ea751ae..1dc50eb 100644 (file)
@@ -71,6 +71,9 @@ class Coordinates:
 
     __getitem__ = coordinate
 
 
     __getitem__ = coordinate
 
+    def values(self):
+        yield from self._coordinates.values()
+
     def __bool__(self):
         return any(self._coordinates.values())
 
     def __bool__(self):
         return any(self._coordinates.values())