def _iterPoints ( self , * * kwargs ) : points = self . points count = len ( points ) index = 0 while count : yield points [ index ] count -= 1 index += 1
python make points iterable
Subclasses may override this method .
def _iterPoints(self, **kwargs):
        """
        Subclasses may override this method.
        """
        points = self.points
        count = len(points)
        index = 0
        while count:
            yield points[index]
            count -= 1
            index += 1