Back to FabImage Library website

You are here: Start » Function Reference » Profile » Profile Point Transforms » AddToProfile

AddToProfile


Header: FIL.h
Namespace: fil
Module: FoundationPro

Adds a scalar value to each element of a profile.

Syntax

C++
C#
 
void fil::AddToProfile
(
	fil::Profile& ioProfile,
	ftl::Optional<const fil::Range&> inRange,
	float inValue
)

Parameters

Name Type Default Description
Input will be modified ioProfile Profile&
Input value inRange Optional<const Range&> NIL
Input value inValue float

Errors

List of possible exceptions:

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