You are here: Start » AVL.NET » 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 | |
---|---|---|---|---|---|
![]() | inSegment | Avl.Segment2D | |||
![]() | inReferencePoint | Avl.Point2D | A point relative to which distances are measured. | ||
![]() | outSegment | Avl.Segment2D | A segment in which the first point is closer to inReferencePoint. |