Back to FabImage Library website

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

ProfileSum


Header: FIL.h
Namespace: fil
Module: FoundationPro

Computes the sum of profile values.

Syntax

C++
C#
 
void fil::ProfileSum
(
	const fil::Profile& inProfile,
	ftl::Optional<const fil::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.