RescaleSegment3D
Lengthens or shortens a segment in 3D relatively.
Syntax
C++
C#
Python
def RescaleSegment3D( inSegment3D: Segment3D, /, *, inReferencePoint: Point3D | None = None, inScale: float = 1.0, inInverse: bool = False ) -> outSegment3D: Segment3D
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inSegment3D | Segment3D | Input segment in 3D | |
![]() |
inReferencePoint | Point3D | None | None | The point to which all distances change linearly (the mass center by default) |
![]() |
inScale | float | 1.0 | Scaling factor (negative values invert the segment) |
![]() |
inInverse | bool | False | Switches to the inverse operation |
![]() |
outSegment3D | Segment3D |


