You are here: Start » AVL.NET » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » AVL.RotateCircle

AVL.RotateCircle

Rotates a circle clockwise around a center point.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

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

Parameters

Name Type Range Default Description
inCircleAvlNet.Circle2D
inCenterAvlNet.Point2DCenter of rotation.
inAnglefloatClockwise rotation angle.
inInverseboolSwitches to the inverse operation.
outCircleAvlNet.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