interpolate


Description:

[ Version ( since = "1.0" ) ]
public Matrix interpolate (Matrix b, double factor)

Linearly interpolates the two given Matrix by interpolating the decomposed transformations separately.

If either matrix cannot be reduced to their transformations then the interpolation cannot be performed, and this function will return an identity matrix.

Parameters:

this

a Matrix

b

a Matrix

factor

the linear interpolation factor

res

return location for the interpolated matrix