You are here: Start » AVL.NET » Invoke.NormalizeSegmentOrientation_ByCoordinate

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

See also