def __eq__(self, other):
        return (isinstance(other, self.__class__) and
                other.package == self.package)
def getLenp2(self):
        p1 = self.p1
        ret = p1.distance(self.p3)
        return ret