You are here: Start » AVL.NET » AVL.RotatePointArray(AvlNet.Point2D[], AvlNet.Point2D?, float, bool, AvlNet.Point2D[])

AVL.RotatePointArray(AvlNet.Point2D[], AvlNet.Point2D?, float, bool, AvlNet.Point2D[])

Rotates an array of points clockwise around a center point.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void RotatePointArray(
	AvlNet.Point2D[] inPoints,
	AvlNet.Point2D? inCenter,
	float inAngle,
	bool inInverse,
	out AvlNet.Point2D[] outPoints
)

Parameters

inPoints
Type: AvlNet.Point2D
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
outPoints
Type: AvlNet.Point2D

See also