(self, other, ratio=0.5)
return Point(
            x=self.x * (1.0 - ratio) + other.x * ratio,
            y=self.y * (1.0 - ratio) + other.y * ratio,
        )
Linearly interpolates between the coordinates of this point and
        another one.

        @param  other:  the other point
        @param  ratio:  the interpolation ratio between 0 and 1. Zero will
          return this point, 1 will return the other point.
Linearly interpolates between the coordinates of this point and
        another one.
Linearly interpolates between the coordinates of this point and another one .
def interpolate(self, other, ratio=0.5):
        """Linearly interpolates between the coordinates of this point and
        another one.

        @param  other:  the other point
        @param  ratio:  the interpolation ratio between 0 and 1. Zero will
          return this point, 1 will return the other point.
        """
        ratio = float(ratio)
        return Point(
            x=self.x * (1.0 - ratio) + other.x * ratio,
            y=self.y * (1.0 - ratio) + other.y * ratio,
        )
def interpolate ( self , other , ratio = 0.5 ) : ratio = float ( ratio ) return Point ( x = self . x * ( 1.0 - ratio ) + other . x * ratio , y = self . y * ( 1.0 - ratio ) + other . y * ratio , )