def corofunc1():
            called[0] += 1
            return event.ReturnValue(insert_events=[evt2], append_events=[evt])
def getLenp1(self):
        p2 = self.p2
        ret = p2.distance(self.p3)
        return ret