Back to Aurora Vision Library website
You are here: Start » Function Reference » Profile » Profile Point Transforms » ClipProfileValues
ClipProfileValues
Header: | AVL.h |
---|---|
Namespace: | avl |
Module: | FoundationPro |
Applies limits to profile values.
Syntax
C++
C#
void avl::ClipProfileValues ( avl::Profile& ioProfile, atl::Optional<const avl::Range&> inRange, const atl::Optional<float> inLowValue, const atl::Optional<float> inHighValue )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
ioProfile | Profile& | |||
inRange | Optional<const Range&> | NIL | ||
inLowValue | const Optional<float> | NIL | Value min threshold | |
inHighValue | const Optional<float> | NIL | Value max threshold |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Range exceeds the input profile in ClipProfileValues. |
DomainError | Value of inHighValue is less than inLowValue in ClipProfileValues. |