You are here: Start » AVL.NET » Invoke.NormalizeSegmentOrientation_ByCoordinate
Changes orientation of the given segment according to coordinates along selected axis.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void NormalizeSegmentOrientation_ByCoordinate ( Avl.Segment2D inSegment, Avl.Axis inAxis, out Avl.Segment2D outSegment )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inSegment | Avl.Segment2D | |||
![]() | inAxis | Avl.Axis | X | An axis relative to which coordinates are compared. Default value: X. | |
![]() | outSegment | Avl.Segment2D | A segment in which the first point will have smaller coordinate along the selected axis. |