You are here: Start » AVL.NET » Function Reference » Profile » Profile Point Transforms » AVL.RescaleProfile
Applies a linear transformation to a profile.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void RescaleProfile ( AvlNet.Profile ioProfile, AvlNet.Range? inRange, float inA, float inB )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
ioProfile | AvlNet.Profile | ||||
inRange | AvlNet.Range? | ||||
inA | float | 1.0f | Value multiplied. Default value: 1.0f. | ||
inB | float | 0.0f | Value added. Default value: 0.0f. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Range exceeds the input profile in RescaleProfile. |