RotateSegment
Rotates a segment clockwise around a center point.
Syntax
C++
Python
def RotateSegment( inSegment: Segment2D, inAngle: float, /, *, inCenter: Point2D | None = None, inInverse: bool = False ) -> outSegment: Segment2D
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inSegment | Segment2D | ||
![]() |
inCenter | Point2D | None | None | Center of rotation (by default the mass center) |
![]() |
inAngle | float | Clockwise angle of rotation | |
![]() |
inInverse | bool | False | Switches to the inverse operation |
![]() |
outSegment | Segment2D |


