Back to Aurora Vision Library website
You are here: Start » Function Reference » Profile » Profile Basics » GetProfileElement_Interpolated
GetProfileElement_Interpolated
| Header: | AVL.h |
|---|---|
| Namespace: | avl |
| Module: | FoundationPro |
Gets a single value from a profile, interpolated at any point.
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 | 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. |


- 