You are here: Start » FIL.NET » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » FIL.RotateLine
Rotates a line clockwise around a center point.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void RotateLine ( FilNet.Line2D inLine, FilNet.Point2D inCenter, float inAngle, bool inInverse, out FilNet.Line2D outLine )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inLine | FilNet.Line2D | |||
![]() | inCenter | FilNet.Point2D | Center of rotation. | ||
![]() | inAngle | float | Clockwise angle of rotation. | ||
![]() | inInverse | bool | Switches to the inverse operation. | ||
![]() | outLine | FilNet.Line2D |
Examples
![]() |
![]() |
RotateLine performed on the sample line, inCenter = (152.0, 121.0), inAngle = 90.0 and inInverse = False. The inCenter point is drawn on the first image in blue.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Indefinite line on input in RotateLine. |