You are here: Start » AVL.NET » AVL.RotateLine
Rotates a line clockwise around a center point.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void RotateLine ( AvlNet.Line2D inLine, AvlNet.Point2D inCenter, float inAngle, bool inInverse, out AvlNet.Line2D outLine )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inLine | AvlNet.Line2D | ||||
inCenter | AvlNet.Point2D | Center of rotation. | |||
inAngle | float | Clockwise angle of rotation. | |||
inInverse | bool | Switches to the inverse operation. | |||
outLine | AvlNet.Line2D |
Examples
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Indefinite line on input in RotateLine. |