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