interpolate


Description:

public Point interpolate (Point b, double factor)

Linearly interpolates the coordinates of this and b using the given factor.

Parameters:

this

a Point

b

a Point

factor

the linear interpolation factor

res

return location for the interpolated point