Back to Adaptive Vision Library website
You are here: Start » Function Reference » Profile Basics » GetProfileElement_Interpolated

GetProfileElement_Interpolated
Returns linear interpolation between two consecutive values from a profile.
Syntax
C++
C#
void avl::GetProfileElement_Interpolated ( const avl::Profile& inProfile, bool inCyclic, bool inSmooth, float inIndex, float& outValue )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inProfile | const Profile& | Input profile | ||
![]() |
inCyclic | bool | |||
![]() |
inSmooth | bool | |||
![]() |
inIndex | float | -![]() ![]() |
0.0f | |
![]() |
outValue | float& |
Errors
Error type | Description |
---|---|
DomainError | Empty profile on input in GetProfileElement_Interpolated. |
DomainError | Index out of range in GetProfileElement_Interpolated. |