Click or drag to resize

MatrixInterpolator Class

Class to interpolate between a start Matrix and an end Matrix.
Inheritance Hierarchy
SystemObject
  Demo3D.CommonMatrixInterpolator

Namespace: Demo3D.Common
Assembly: Demo3D.Common (in Demo3D.Common.dll) Version: 19.00.00
Syntax
C#
public class MatrixInterpolator

The MatrixInterpolator type exposes the following members.

Constructors
 NameDescription
Public methodMatrixInterpolator Constructor.
Top
Properties
 NameDescription
Public propertyFrom Start Matrix.
Public propertyTo End Matrix.
Top
Methods
 NameDescription
Public methodInterpolate(Double) Return the interpolated matrix "between" From and To based the 0..1 interval.
Public methodInterpolate(Double, Double) Return the interpolated matrix "between" From and To based on the 0..1 components of the translation/scale and rotation.
Public methodInterpolate(Double, Double, Double) Return the interpolated matrix "between" From and To based on the 0..1 components of the translation, rotation, and scale.
Public methodInterpolateNoSnap(Double) Return the interpolated matrix "between" From and To based the 0..1 interval.
Public methodInterpolateNoSnap(Double, Double) Return the interpolated matrix "between" From and To based on the 0..1 components of the translation/scale and rotation.
Public methodInterpolateNoSnap(Double, Double, Double) Return the interpolated matrix "between" From and To based on the 0..1 components of the translation, rotation, and scale.
Top
See Also