CreateCoordinateSystemFromSegment
Creates a coordinate system with the origin on a given segment.
Syntax
C++
Python
def CreateCoordinateSystemFromSegment( inSegment: Segment2D, /, *, inPointAnchor: float = 0.0, inRelativeAngle: float = 0, inScale: float = 1.0, inScaleDivisor: float = 1.0 ) -> outCoordinateSystem: CoordinateSystem2D
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() |
inSegment | Segment2D | |||
![]() |
inPointAnchor | float | -1.0 - 1.0 | 0.0 | |
![]() |
inRelativeAngle | float | 0 | ||
![]() |
inScale | float | 0.001 - ![]() |
1.0 | |
![]() |
inScaleDivisor | float | 0.001 - ![]() |
1.0 | |
![]() |
outCoordinateSystem | CoordinateSystem2D |



