Class TransformationHelpers
Defines a helper methods to manipulate with FloatValues.
Inherited Members
Namespace:
Assembly: .dll
Syntax
public class TransformationHelpers
Constructors
TransformationHelpers()
Declaration
public TransformationHelpers()
Methods
copyData(FloatValues source, FloatValues dest)
Copies FloatValues from a Source to a Destination.
Declaration
public static void copyData(FloatValues source, FloatValues dest)
Parameters
| Type | Name | Description |
|---|---|---|
| FloatValues | source | The values that will be copied. |
| FloatValues | dest | The destination that will contain copied values. |
fill(FloatValues values, float value)
Fills FloatValues with the Repeated value.
Declaration
public static void fill(FloatValues values, float value)
Parameters
| Type | Name | Description |
|---|---|---|
| FloatValues | values | The values to fill. |
| float | value | The Repeated value. |
offsetData(FloatValues values, float offset)
Offsets FloatValues based on Offset value.
Declaration
public static void offsetData(FloatValues values, float offset)
Parameters
| Type | Name | Description |
|---|---|---|
| FloatValues | values | The values to transform. |
| float | offset | The Offset value. |
offsetDataBy(FloatValues values, FloatValues originalValues, float scale)
Offsets FloatValues based on Scale value.
Declaration
public static void offsetDataBy(FloatValues values, FloatValues originalValues, float scale)
Parameters
| Type | Name | Description |
|---|---|---|
| FloatValues | values | The values to transform. |
| FloatValues | originalValues | |
| float | scale | The Scale value. |
offsetRelativeToZeroLine(FloatValues values, float zeroLine)
Offsets FloatValues based on Zero Line.
Declaration
public static void offsetRelativeToZeroLine(FloatValues values, float zeroLine)
Parameters
| Type | Name | Description |
|---|---|---|
| FloatValues | values | The values to transform. |
| float | zeroLine | The Zero Line value. |