You are here: Start » AVL.NET » Function Reference » Path » Path Spatial Transforms » AVL.RotatePath
Rotates a path clockwise around a center point.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void RotatePath ( AvlNet.Path inPath, float inAngle, bool inInverse, AvlNet.Path outPath )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPath | AvlNet.Path | Input path. | ||
![]() | inAngle | float | Clockwise rotation angle. | ||
![]() | inInverse | bool | Switches to the inverse operation. | ||
![]() | outPath | AvlNet.Path | Output path. |
Examples
![]() |
![]() |
RotatePath run on the sample paths with inAngle = 90, inCenter = Nil.