Back to Adaptive Vision Library Lite website
You are here: Start » Path » Path Spatial Transforms » TranslatePath
TranslatePath
Header: | AVL.h |
---|---|
Namespace: | avl |
Translates a path by a vector.
Syntax
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 |
In-place Processing
This function supports in-place data processing - you can pass the same reference to inPath and outPath
Read more about In-place Computation.
Examples
See Also
- RotatePath – Rotates a path clockwise around a center point.
- AlignPath – Moves a path from a local coordinate system to the absolute one.