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 | |
---|---|---|---|---|
![]() |
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. |