You are here: Start » AVL.NET » AVL.RotateSegment Method
AVL.RotateSegment Method
Rotates a segment clockwise around a center point.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
public static void RotateSegment( AvlNet.Segment2D inSegment, float inAngle, bool inInverse, out AvlNet.Segment2D outSegment )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inSegment | AvlNet.Segment2D | |||
![]() | inAngle | float | Clockwise angle of rotation. | ||
![]() | inInverse | bool | Switches to the inverse operation. | ||
![]() | outSegment | AvlNet.Segment2D |
Examples
![]() |
![]() |
RotateSegment performed on the sample segment, inCenter = Auto, inAngle = 70.0 and inInverse = False.




