Back to Aurora Vision Library Lite website
You are here: Start » All Functions » Array Transforms » AvsFilter_ResizeArray_Relative
AvsFilter_ResizeArray_Relative
This is Filter Equivalent. This function may be present in generated code, but should not be used in hand-written code.
Header: | STD.h |
---|---|
Namespace: | avs |
Removes elements at the end of an array until it reaches the requested new size based on scale ratio.
Syntax
void avs::AvsFilter_ResizeArray_Relative ( const atl::Array<Type>& inArray, float inScale, atl::Optional<int> inMinSize, atl::Optional<int> inMaxSize, atl::Array<Type>& outArray )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inArray | const Array<Type>& | ||||
inScale | float | 0.0 - 1.0 | 1.0f | ||
inMinSize | Optional<int> | 0 - | NIL | ||
inMaxSize | Optional<int> | 0 - | NIL | ||
outArray | Array<Type>& |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | inMinSize is greater than inMaxSize in Resize_ArrayRelative. |
DomainError | Minimum size of new array is greater than input array size in ResizeArray_Relative. |