Table of Contents

Class MatInterpolationKit

Namespace
Hi.Machining
Assembly
HiMech.dll

Provides functionality for interpolating between two transformation matrices.

public class MatInterpolationKit
Inheritance
MatInterpolationKit
Inherited Members
Extension Methods

Constructors

MatInterpolationKit(Mat4d, Mat4d)

Initializes a new instance of the MatInterpolationKit class with two matrices.

public MatInterpolationKit(Mat4d m0, Mat4d m1)

Parameters

m0 Mat4d

The first matrix.

m1 Mat4d

The second matrix.

Properties

Mat0

Gets the first matrix.

public Mat4d Mat0 { get; }

Property Value

Mat4d

Mat1

Gets the second matrix.

public Mat4d Mat1 { get; }

Property Value

Mat4d

RotationAxisAngle

Gets the rotation axis and angle between the two matrices.

public AxisAngle4d RotationAxisAngle { get; }

Property Value

AxisAngle4d

Trans

Gets the translation vector between the two matrices.

public Vec3d Trans { get; }

Property Value

Vec3d

Methods

GetInterpolation(double)

Gets an interpolated matrix between the two matrices.

public Mat4d GetInterpolation(double alpha)

Parameters

alpha double

The interpolation factor between 0 and 1.

Returns

Mat4d

The interpolated matrix.