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

GetProfileElement_Interpolated
Header: | FIL.h |
---|---|
Namespace: | fil |
Returns linear interpolation between two consecutive values from a profile.
Syntax
C++
C#
void fil::GetProfileElement_Interpolated ( const fil::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 | Determines whether an interpolation between two profile elements should be smooth | ||
![]() |
inIndex | float | -![]() ![]() |
0.0f | |
![]() |
outValue | float& |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty profile on input in GetProfileElement_Interpolated. |
DomainError | Index out of range in GetProfileElement_Interpolated. |