NormalizeSegmentOrientation_ByPointDistance
Changes orientation of the given segment according to distance to the given point.
Syntax
C++
Python
def NormalizeSegmentOrientation_ByPointDistance(
inSegment: Segment2D,
inReferencePoint: Point2D,
/
)
-> outSegment: Segment2D
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inSegment | Segment2D | ||
![]() |
inReferencePoint | Point2D | A point relative to which distances are measured | |
![]() |
outSegment | Segment2D | A segment in which the first point is closer to inReferencePoint |


