Back to Aurora Vision Library website

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

RescaleProfile


Header: AVL.h
Namespace: avl
Module: FoundationPro

Applies a linear transformation to a profile.

Syntax

C++
C#
 
void avl::RescaleProfile
(
	avl::Profile& ioProfile,
	atl::Optional<const avl::Range&> inRange,
	float inA,
	float inB
)

Parameters

Name Type Default Description
Input will be modified ioProfile Profile&
Input value inRange Optional<const Range&> NIL
Input value inA float 1.0f Value multiplied
Input value inB float 0.0f Value added

Errors

List of possible exceptions:

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