You are here: Start » AVL.NET » Function Reference » Profile » Profile Point Transforms » AVL.RescaleProfile

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
ioProfileAvlNet.Profile
inRangeAvlNet.Range?
inAfloat1.0fValue multiplied. Default value: 1.0f.
inBfloat0.0fValue added. Default value: 0.0f.

Errors

List of possible exceptions:

Error type Description
DomainError Range exceeds the input profile in RescaleProfile.

Function Overrides

See also