Back to Adaptive Vision Library website
You are here: Start » Function Reference » Geometry 3D Spatial Transforms » ResizeVector3D_Delta
ResizeVector3D_Delta
Extends length of a 3D vector by adding a value preserving its direction.
Header: | AVL.h |
---|
Syntax
C++
C#
void avl::ResizeVector3D_Delta ( const avl::Vector3D& inVector3D, float inDelta, avl::Vector3D& outVector3D )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
inVector3D | const Vector3D& | |||
inDelta | float | 0.0f | Value added to vector length | |
outVector3D | Vector3D& |
Errors
Error type | Description |
---|---|
DomainError | Negative vector length in ResizeVector3D_Delta. |