You are here: Start » FIL.NET » FIL.RotateRegion
Rotates a region around a point.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void RotateRegion ( FilNet.Region inRegion, float inAngle, bool inInverse, FilNet.Region outRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inRegion | FilNet.Region | Input region. | ||
![]() | inAngle | float | Clockwise rotation angle. | ||
![]() | inInverse | bool | Switches to counter-clockwise rotation. | ||
![]() | outRegion | FilNet.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.
Examples
![]() |
![]() |
RotateRegion performed on the sample region with inAngle set to 45.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty region on input when rotation center is Nil in RotateRegion. |