def yaml(self):
        return yaml.dump(self.serialized, default_flow_style=False,
                         encoding=None)
def setTail(self, pt):
        self.pt = pt
        self.Tail.Eq(pt)
        self.Head.setPoint(self.pt.x + self.x, self.pt.y + self.y)