You are here: Start » AVL.NET » AVL.RotateCircle(AvlNet.Circle2D, AvlNet.Point2D, float, bool, AvlNet.Circle2D)

AVL.RotateCircle(AvlNet.Circle2D, AvlNet.Point2D, float, bool, AvlNet.Circle2D)

Rotates a circle clockwise around a center point.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void RotateCircle(
	AvlNet.Circle2D inCircle,
	AvlNet.Point2D inCenter,
	float inAngle,
	bool inInverse,
	out AvlNet.Circle2D outCircle
)

Parameters

inCircle
Type: AvlNet.Circle2D
inCenter
Type: AvlNet.Point2D
Center of rotation
inAngle
Type: System.Single
Clockwise rotation angle
inInverse
Type: System.Boolean
Switches to the inverse operation
outCircle
Type: AvlNet.Circle2D

Examples

RotateCircle performed on the sample circle, inCenter = (173.0, 163.0), inAngle = 180.0 and inInverse = False. The inCenter point is drawn on the first image in blue

See also