Back to Aurora Vision Library website

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

SubtractFromProfile


Header: AVL.h
Namespace: avl
Module: FoundationPro

Subtracts a scalar value from each element of a profile.

Syntax

C++
C#
 
void avl::SubtractFromProfile
(
	avl::Profile& ioProfile,
	atl::Optional<const avl::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 SubtractFromProfile.