You are here: Start » AVL.NET » AVL.RotateArc Method

AVL.RotateArc Method

Rotates an arc clockwise around center point.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void RotateArc(
	AvlNet.Arc2D inArc,
	AvlNet.Point2D? inCenter,
	float inAngle,
	bool inInverse,
	out AvlNet.Arc2D outArc
)

Parameters

Name Type Range Default Description
inArcAvlNet.Arc2D
inCenterAvlNet.Point2D?Center of rotation (the arc's center by default). Default value: atl::NIL, or null.
inAnglefloatClockwise rotation angle.
inInverseboolSwitches to the inverse operation.
outArcAvlNet.Arc2D

Examples

RotateArc performed on the sample arc, inCenter = Auto, inAngle = 90 and inInverse = False.

See also