Back to Aurora Vision Library website

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

GetProfileElement


Header: AVL.h
Namespace: avl
Module: FoundationPro

Gets a single value from a profile, located at the specified index.

Syntax

C++
C#
 
void avl::GetProfileElement
(
	const avl::Profile& inProfile,
	const int inIndex,
	const bool inInverse,
	float& outValue
)

Parameters

Name Type Range Default Description
Input value inProfile const Profile& Input profile
Input value inIndex const int 0 -
Input value inInverse const bool Reversed order of elements
Output value outValue float&

Errors

List of possible exceptions:

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