Back to Adaptive Vision Library website
You are here: Start » Function Reference » Path Spatial Transforms » TranslatePath
![](../../img/icon/TranslatePath.png)
TranslatePath
Translates a path by a vector.
Syntax
C++
C#
void avl::TranslatePath ( const avl::Path& inPath, const avl::Vector2D& inDelta, bool inInverse, avl::Path& outPath )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inPath | const Path& | Input path | |
![]() |
inDelta | const Vector2D& | Translation vector | |
![]() |
inInverse | bool | Switches to the inverse operation | |
![]() |
outPath | Path& | Output path |
Examples
![]() |
![]() |
TranslatePath run on the sample paths with inDelta = Vector2D(50,0).
In-place Processing
This function supports in-place data processing - you can pass the same reference to inPath and outPath