Back to FabImage Library Lite website
You are here: Start » Geometry 2D Spatial Transforms » ResizeVector_Delta

ResizeVector_Delta
Extends length of a vector by adding a value preserving its direction.
Syntax
void fil::ResizeVector_Delta ( const fil::Vector2D& inVector, float inDelta, fil::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. |