Back to Adaptive 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
inProfile const Profile& Input profile
inRange Optional<const Range&> NIL
outSum float&

Errors

List of possible exceptions:

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