Back to Adaptive Vision Studio website

You are here: Start » Filter Reference » Array Transforms » ResizeArray_Relative

ResizeArray_Relative


Removes elements at the end of an array until it reaches the requested new size based on scale ratio.

Name Type Range Description
inArray <T>Array
inScale Real 0.0 - 1.0
inMinSize Integer* 0 -
inMaxSize Integer* 0 -
outArray <T>Array

The type of this filter is defined using the type variable T which represents any valid type. Read more.

Errors

This filter can throw an exception to report error. Read how to deal with errors in Error Handling.

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.

Complexity Level

This filter is available on Expert Complexity Level.