Back to Adaptive 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
inProfile const Profile& Input profile
inIndex const int 0 -
inInverse const bool Reversed order of elements
outValue float&

Errors

List of possible exceptions:

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