You are here: Start » AVL.NET » Function Reference » Path » Path Spatial Transforms » AVL.TranslatePath
Translates a path by a vector.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void TranslatePath ( AvlNet.Path inPath, AvlNet.Vector2D inDelta, bool inInverse, AvlNet.Path outPath )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPath | AvlNet.Path | Input path. | ||
![]() | inDelta | AvlNet.Vector2D | Translation vector. | ||
![]() | inInverse | bool | Switches to the inverse operation. | ||
![]() | outPath | AvlNet.Path | Output path. |
Examples
![]() |
![]() |
TranslatePath run on the sample paths with inDelta = Vector2D(50,0).