You are here: Start » AVL.NET » AVL.GetProfileElement_Interpolated Method
AVL.GetProfileElement_Interpolated Method
Returns linear interpolation between two consecutive values from a profile.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void GetProfileElement_Interpolated( AvlNet.Profile inProfile, bool inCyclic, bool inSmooth, float inIndex, out float outValue )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inProfile | AvlNet.Profile | Input profile. | |||
inCyclic | bool | ||||
inSmooth | bool | ||||
inIndex | float | <-INF, INF> | 0.0f | Default value: 0.0f. | |
outValue | float |
Errors
Error type | Description |
---|---|
DomainError | Empty profile on input in GetProfileElement_Interpolated. |
DomainError | Index out of range in GetProfileElement_Interpolated. |