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
inSegmentAvlNet.Segment2D
inAxisAvlNet.AxisXAn axis relative to which coordinates are compared. Default value: X.
outSegmentAvlNet.Segment2DA segment in which the first point will have smaller coordinate along the selected axis.

See also