You are here: Start » AVL.NET » AVL.RotatePointArray
Rotates an array of points clockwise around a center point.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void RotatePointArray ( IList<AvlNet.Point2D> inPoints, AvlNet.Point2D? inCenter, float inAngle, bool inInverse, IList<AvlNet.Point2D> outPoints )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPoints | System.Collections.Generic.IList<AvlNet.Point2D> | ||||
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. | |||
outPoints | System.Collections.Generic.IList<AvlNet.Point2D> |