def yaml(self):
        return yaml.dump(self.serialized, default_flow_style=False,
                         encoding=None)
def getLenp2(self):
        p1 = self.p1
        ret = p1.distance(self.p3)
        return ret