Back to Aurora Vision Library Lite website
You are here: Start » Geometry 2D » Geometry 2D Spatial Transforms » ResizeVector_Delta
ResizeVector_Delta
| Header: | AVL.h |
|---|---|
| Namespace: | avl |
Extends length of a vector by adding a value preserving its direction.
Syntax
void avl::ResizeVector_Delta ( const avl::Vector2D& inVector, float inDelta, avl::Vector2D& outVector )
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inVector | const Vector2D& | ||
![]() |
inDelta | float | 0.0f | Value added to vector length |
![]() |
outVector | Vector2D& |
In-place Processing
This function supports in-place data processing - you can pass the same reference to inVector and outVector
Read more about In-place Computation.
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Negative vector length in ResizeVector_Delta. |


