You are here: Start » AVL.NET » Function Reference » Path » Path Spatial Transforms » AVL.TranslatePath

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
inPathAvlNet.PathInput path.
inDeltaAvlNet.Vector2DTranslation vector.
inInverseboolSwitches to the inverse operation.
outPathAvlNet.PathOutput path.

Examples

TranslatePath run on the sample paths with inDelta = Vector2D(50,0).

See also