NormalizeSegmentOrientation_ByBaseOrientation
Changes orientation of the given segment according to base orientation.
Syntax
C++
Python
def NormalizeSegmentOrientation_ByBaseOrientation( inSegment: Segment2D, /, *, inBaseOrientation: float = 0.0 ) -> outSegment: Segment2D
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inSegment | Segment2D | ||
![]() |
inBaseOrientation | float | 0.0 | An angle relative to which angle differences are calculated |
![]() |
outSegment | Segment2D | A segment which orientation is closer to inBaseOrientation |


