You are here: Start » AVL.NET » AVS.NormalizeRectangleOrientation Method
AVS.NormalizeRectangleOrientation Method
Changes orientation of the given rectangle according to parameters.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void NormalizeRectangleOrientation ( AvlNet.Rectangle2D inRectangle, float inReferenceAngle, AvlNet.RectangleOrientation inRectangleOrientation, out AvlNet.Rectangle2D outRectangle )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inRectangle | AvlNet.Rectangle2D | Input rectangle. | |||
inReferenceAngle | float | 0.0f | The middle angle of the valid range of the output rectangle's angle. Default value: 0.0f. | ||
inRectangleOrientation | AvlNet.RectangleOrientation | Horizontal | Orientation of the output rectangle. Default value: Horizontal. | ||
outRectangle | AvlNet.Rectangle2D |