def warning(message, **kwargs):
    kwargs["fg"] = kwargs.get("fg", "red")
    click.secho(u"warning: {}".format(message), **kwargs)
def getLenp2(self):
        p1 = self.p1
        ret = p1.distance(self.p3)
        return ret