Table of Contents

Class StepMotionValve

Namespace
Hi.Motion.MatValves
Assembly
HiMech.dll

Optimize the sequential transformation matrixes step by step by filtering the unnecessary transformation matrixes. All step will be pumped.

public class StepMotionValve : IMotionValve
Inheritance
StepMotionValve
Implements
Inherited Members
Extension Methods

Remarks

A shell over the native mechmotionstep_motion_valve_t (core.dll, step_motion_valve__* in Hi.Motion.NativeMotion): the three-matrix window and the collinearity test live there. The constructor creates the native valve and the finalizer releases it; the shell keeps itself alive across every native call. One instance is single-threaded, as it always was.

Constructors

StepMotionValve()

Initializes a new instance of the StepMotionValve class.

public StepMotionValve()

Exceptions

OutOfMemoryException

The native valve could not be allocated.

Methods

ClearState()

Clear state.

public void ClearState()

~StepMotionValve()

Releases the native valve.

protected ~StepMotionValve()

Step(mat4d_t)

Output optimized sequence transformation matrixes.

public SeqPair<mat4d_t> Step(mat4d_t at)

Parameters

at mat4d_t

Input matrix

Returns

SeqPair<mat4d_t>

optimized sequence transformation matrixes. return pair.first: one of the previous mat; pair.second: current mat.