Back to Aurora Vision Library website

You are here: Start » Function Reference » Profile » Profile Features » ProfileSum

ProfileSum


Header: AVL.h
Namespace: avl
Module: FoundationPro

Computes the sum of profile values.

Syntax

C++
C#
 
void avl::ProfileSum
(
	const avl::Profile& inProfile,
	atl::Optional<const avl::Range&> inRange,
	float& outSum
)

Parameters

Name Type Default Description
Input value inProfile const Profile& Input profile
Input value inRange Optional<const Range&> NIL
Output value outSum float&

Errors

List of possible exceptions:

Error type Description
DomainError Range exceeds the input profile in ProfileSum.