You are here: Start » AVL.NET » AVS.NormalizeSegmentOrientation_ByBaseOrientation Method
AVS.NormalizeSegmentOrientation_ByBaseOrientation Method
Changes orientation of the given segment according to base orientation.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void NormalizeSegmentOrientation_ByBaseOrientation ( AvlNet.Segment2D inSegment, float inBaseOrientation, out AvlNet.Segment2D outSegment )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inSegment | AvlNet.Segment2D | ||||
inBaseOrientation | float | 0.0f | An angle relative to which angle differences are calculated. Default value: 0.0f. | ||
outSegment | AvlNet.Segment2D | A segment which orientation is closer to inBaseOrientation. |