You are here: Start » AVL.NET » AVL.RotateRegion
Rotates a region around a point.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void RotateRegion ( AvlNet.Region inRegion, float inAngle, bool inInverse, AvlNet.Region outRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inRegion | AvlNet.Region | Input region. | |||
inAngle | float | Clockwise rotation angle. | |||
inInverse | bool | Switches to counter-clockwise rotation. | |||
outRegion | AvlNet.Region | Output region. |
Description
The operation rotates a region by the inAngle degrees around inCenter point. If the inCenter is not provided, the rotation is conducted around the mass center of the region.