(self, other, distance=0)
return Point(self.x + distance * cos(angle), self.y + distance * sin(angle))
Returns the point that is at a given distance from this point
        towards another one.
Returns the point that is at a given distance from this point
        towards another one.
Returns the point that is at a given distance from this point towards another one .
def towards(self, other, distance=0):
        """Returns the point that is at a given distance from this point
        towards another one."""
        if not distance:
            return self

        angle = atan2(other.y - self.y, other.x - self.x)
        return Point(self.x + distance * cos(angle), self.y + distance * sin(angle))
def towards ( self , other , distance = 0 ) : if not distance : return self angle = atan2 ( other . y - self . y , other . x - self . x ) return Point ( self . x + distance * cos ( angle ) , self . y + distance * sin ( angle ) )