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

GetProfileElement
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationPro |
Gets a single value from a profile, located at the specified index.
Syntax
C++
C#
void fil::GetProfileElement ( const fil::Profile& inProfile, const int inIndex, const bool inInverse, float& outValue )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() |
inProfile | const Profile& | Input profile | ||
![]() |
inIndex | const int | 0 - ![]() |
||
![]() |
inInverse | const bool | Reversed order of elements | ||
![]() |
outValue | float& |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | inIndex is out of profile range in GetProfileElement. |