You are here: Start » AVL.NET » AVL.RotatePath(AvlNet.Path, AvlNet.Point2D?, float, bool, AvlNet.Path)

AVL.RotatePath(AvlNet.Path, AvlNet.Point2D?, float, bool, AvlNet.Path)

Rotates a path clockwise around a center point.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void RotatePath(
	AvlNet.Path inPath,
	AvlNet.Point2D? inCenter,
	float inAngle,
	bool inInverse,
	out AvlNet.Path outPath
)

Parameters

inPath
Type: AvlNet.Path
Input path
inCenter
Type: System.Nullable<AvlNet.Point2D>
Center of rotation (the mass center by default), or null.
inAngle
Type: System.Single
Clockwise rotation angle
inInverse
Type: System.Boolean
Switches to the inverse operation
outPath
Type: AvlNet.Path
Output path

Examples

RotatePath run on the sample paths with inAngle = 90, inCenter = Nil.

See also