protected function distanceBetweenPoints(
        PointInterface $head,
        PointInterface $tail
    ) {
        return sqrt(self::pythagorus($head, $tail));
    }
protected function distanceBetweenPoints(
        PointInterface $head,
        PointInterface $tail
    ) {
        return sqrt(self::pythagorus($head, $tail));
    }
protected function distanceBetweenPoints ( PointInterface $ head , PointInterface $ tail ) { return sqrt ( self :: pythagorus ( $ head , $ tail ) ) ; }
Calculate the distance between to points

@param PointInterface $head First point
@param PointInterface $tail Last point

@return float
Calculate the distance between to points