Calc.RemapParam Method

Remaps a parameter (0-1) to a new range min-max
Public Shared Function RemapParam( _ 
ByVal par As Double, _ 
ByVal min As Double, _ 
ByVal max As Double
) As Double
This language is not supported or no code example is available.
public static double RemapParam( 
double par
double min
double max 
)
This language is not supported or no code example is available.
public:  
static double RemapParam( 
double par
double min
double max 
)
This language is not supported or no code example is available.
public static function RemapParam( 
par : double
min : double
max : double 
) : double;
This language is not supported or no code example is available.

Parameters

par
double

Parameter to remap

min
double

Min value 0 maps to this value

max
double

Max value 1 maps to this value

Return Value

double

New remapped parameter

.NET Framework

Supported in: 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8

In this article

Definition