You are here: Start » AVL.NET » Invoke.RotateSegment
Rotates a segment clockwise around a center point.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void RotateSegment ( Avl.Segment2D inSegment, Optional<Avl.Point2D> inCenter, float inAngle, bool inInverse, out Avl.Segment2D outSegment )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inSegment | Avl.Segment2D | |||
![]() | inCenter | Atl.Optional<Avl.Point2D> | Center of rotation (by default the mass center). Default value: atl::NIL. | ||
![]() | inAngle | float | Clockwise angle of rotation. | ||
![]() | inInverse | bool | Switches to the inverse operation. | ||
![]() | outSegment | Avl.Segment2D |