You are here: Start » AVL.NET » 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, AvlNet.Point2D? inCenter, float inAngle, bool inInverse, AvlNet.Path outPath )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPath | AvlNet.Path | Input path. | |||
inCenter | AvlNet.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 | AvlNet.Path | Output path. |