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