Back to Aurora Vision Library website

You are here: Start » Function Reference » Profile » Profile Basics » SetProfileElement

SetProfileElement


Header: AVL.h
Namespace: avl
Module: FoundationPro

Sets a single element in a profile, located at the specified index.

Syntax

C++
C#
 
void avl::SetProfileElement
(
	avl::Profile& ioProfile,
	int inIndex,
	bool inInverse,
	float inValue
)

Parameters

Name Type Range Default Description
Input will be modified ioProfile Profile&
Input value inIndex int 0 -
Input value inInverse bool Reversed order of elements
Input value inValue float

Errors

List of possible exceptions:

Error type Description
DomainError inIndex is out of profile range in SetProfileElement.