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

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