You are here: Start » FIL.NET » Invoke.RescaleSegment
Lengthens or shortens a segment relatively.
Namespace: | Fil |
---|---|
Assembly: | FilNet.dll |
Syntax
C++
C#
public static void RescaleSegment ( Fil.Segment2D inSegment, Optional<Fil.Point2D> inReferencePoint, float inScale, bool inInverse, out Fil.Segment2D outSegment )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inSegment | Fil.Segment2D | |||
![]() | inReferencePoint | Ftl.Optional<Fil.Point2D> | The point to which all distances change linearly (the mass center by default). Default value: ftl::NIL. | ||
![]() | inScale | float | 1.0f | Scaling factor (negative values invert the segment). Default value: 1.0f. | |
![]() | inInverse | bool | Switches to the inverse operation. | ||
![]() | outSegment | Fil.Segment2D |