Table of Contents

Class TransformerUtil

Namespace
Hi.Mech.Topo
Assembly
HiMech.dll

Utility for ITransformer.

public static class TransformerUtil
Inheritance
TransformerUtil
Inherited Members

Methods

GetSteps(IDynamicRegular[])

Gets the steps.

public static double[] GetSteps(IDynamicRegular[] dynamics)

Parameters

dynamics IDynamicRegular[]

The dynamics.

Returns

double[]

the steps

Reg(XFactory)

Registers every concrete ITransformer implementation with the given XFactory: NoTransform, StaticTranslation, StaticRotation, StaticFreeform, DynamicTranslation, DynamicRotation, DynamicFreeform, StackTransformer, and GeneralTransform. Composites that deserialize a Branch (whose Transformer child can be any of the above) should chain this from their own Reg(factory). Idempotent.

public static void Reg(XFactory factory = null)

Parameters

factory XFactory

SetSteps(IDynamicRegular[], double[])

Sets the steps.

public static void SetSteps(IDynamicRegular[] dynamics, double[] steps)

Parameters

dynamics IDynamicRegular[]

The dynamics.

steps double[]

The steps.