Back to Adaptive 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
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.