You are here: Start » AVL.NET » AVL.GetProfileElement_Interpolated(AvlNet.Profile, bool, bool, float, float)
AVL.GetProfileElement_Interpolated(AvlNet.Profile, bool, bool, float, float)
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
- inProfile
- Type: AvlNet.Profile
Input profile - inCyclic
- Type: System.Boolean
- inSmooth
- Type: System.Boolean
- inIndex
- Type: System.Single
- outValue
- Type: System.Single
Errors
| Error type | Description |
|---|---|
| DomainError | Empty profile on input in GetProfileElement_Interpolated. |
| DomainError | Index out of range in GetProfileElement_Interpolated. |
