@classmethod
def dist(cls, point1, point2):
    """
        Calculate the distance between point1 and point2

        Args:

            point1(subclass of Point): a point.

            point2(subclass of Point): another point.
        """
    return cls.redis_store.geodist(cls.__key__, point1.member, point2.member)
