You are here: Start » AVL.NET » AVS.StretchPath Method

AVS.StretchPath Method

Moves, rotates and scales the path so that its end-points end up at the given two points.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void StretchPath
(
	AvlNet.Path inPath,
	AvlNet.Point2D inNewEndpoint1,
	AvlNet.Point2D inNewEndpoint2,
	AvlNet.Path outPath
)

Parameters

Name Type Range Default Description
inPathAvlNet.PathInput path, must be open.
inNewEndpoint1AvlNet.Point2DNew starting point of the path.
inNewEndpoint2AvlNet.Point2DNew ending point of the path.
outPathAvlNet.PathOutput path.

See also