Back to Adaptive Vision Library website

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

SetProfileElement


Header:AVL.h
Namespace:avl

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

Syntax

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

Parameters

Name Type Range Default Description
ioProfile Profile&
inIndex const int 0 -
inInverse const bool Reversed order of elements
inValue const float

Errors

List of possible exceptions:

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