You are here: Start » AVL.NET » Invoke.NormalizeProfile

Invoke.NormalizeProfile

Rescales a profile linearly, so that its minimum becomes inNewMinimum and its maximum becomes inNewMaximum.

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void NormalizeProfile
(
	Avl.Profile inProfile,
	Optional<Avl.Range> inRange,
	Optional<float> inNewMinimum,
	Optional<float> inNewMaximum,
	float inSaturateHighestFraction,
	float inSaturateLowestFraction,
	Avl.Profile outProfile,
	out float outA,
	out float outB
)

Parameters

Name Type Range Default Description
inProfileAvl.ProfileInput profile.
inRangeAtl.Optional<Avl.Range>
inNewMinimumAtl.Optional<float>Desired minimum value of the resulting profile (if set to Nil, the minimum of the input profile is used). Default value: atl::NIL.
inNewMaximumAtl.Optional<float>Desired maximum value of the resulting profile (if set to Nil, the maximum of the input profile is used). Default value: atl::NIL.
inSaturateHighestFractionfloat<0.0f, 1.0f>0.0fFraction of the highest values skipped during normalization. Default value: 0.0f.
inSaturateLowestFractionfloat<0.0f, 1.0f>0.0fFraction of the lowest values skipped during normalization. Default value: 0.0f.
outProfileAvl.ProfileNormalized profile.
outAfloatMultiplicative parameter of the applied linear transformation.
outBfloatAdditive parameter of the applied linear transformation.

See also