interpolate


Description:

public Point3D interpolate (Point3D b, double factor)

Linearly interpolates each component of this and b using the provided factor, and places the result in res.

Parameters:

this

a Point3D

b

a Point3D

factor

the interpolation factor

res

the return location for the interpolated Point3D