You are here: Start » AVL.NET » AVL.TranslatePath(AvlNet.Path, AvlNet.Vector2D, bool, AvlNet.Path)

AVL.TranslatePath(AvlNet.Path, AvlNet.Vector2D, bool, AvlNet.Path)

Translates a path by a vector.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void TranslatePath(
	AvlNet.Path inPath,
	AvlNet.Vector2D inDelta,
	bool inInverse,
	out AvlNet.Path outPath
)

Parameters

inPath
Type: AvlNet.Path
Input path
inDelta
Type: AvlNet.Vector2D
Translation vector
inInverse
Type: System.Boolean
Switches to the inverse operation
outPath
Type: AvlNet.Path
Output path

Examples

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

See also