Back to FabImage Library website

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

DivideProfile


Header:FIL.h
Namespace:fil

Divides each element of a profile by a scalar value.

Syntax

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

Parameters

Name Type Default Description
ioProfile Profile&
inRange Optional<const Range&> NIL
inValue float 2.0f

Errors

List of possible exceptions:

Error type Description
DomainError Divisor is equal to zero on input in DivideProfile.
DomainError Range exceeds the input profile in DivideProfile.