You are here: Start » AVL.NET » AVS.NormalizeSegmentOrientation_ByPointDistance Method

AVS.NormalizeSegmentOrientation_ByPointDistance Method

Changes orientation of the given segment according to distance to the given point.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void NormalizeSegmentOrientation_ByPointDistance
(
	AvlNet.Segment2D inSegment,
	AvlNet.Point2D inReferencePoint,
	out AvlNet.Segment2D outSegment
)

Parameters

Name Type Range Default Description
inSegmentAvlNet.Segment2D
inReferencePointAvlNet.Point2DA point relative to which distances are measured.
outSegmentAvlNet.Segment2DA segment in which the first point is closer to inReferencePoint.

See also