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