Back to Adaptive Vision Library Lite website
You are here: Start » Geometry 2D Spatial Transforms » ResizeVector_Delta
![](../../img/icon/ResizeVector.png)
ResizeVector_Delta
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& |
Errors
Error type | Description |
---|---|
DomainError | Negative vector length in ResizeVector_Delta. |