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

Invoke.NormalizeSegmentOrientation_ByPointDistance

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

Namespace:Avl
Assembly:AvlNet.dll

Syntax

C++
C#
 
public static void NormalizeSegmentOrientation_ByPointDistance
(
	Avl.Segment2D inSegment,
	Avl.Point2D inReferencePoint,
	out Avl.Segment2D outSegment
)

Parameters

Name Type Range Default Description
inSegmentAvl.Segment2D
inReferencePointAvl.Point2DA point relative to which distances are measured.
outSegmentAvl.Segment2DA segment in which the first point is closer to inReferencePoint.

See also