You are here: Start » FIL.NET » Function Reference » Geometry 3D » Geometry 3D Spatial Transforms » FIL.RescaleSegment3D
Lengthens or shortens a segment in 3D relatively.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void RescaleSegment3D ( FilNet.Segment3D inSegment3D, FilNet.Point3D? inReferencePoint, float inScale, bool inInverse, out FilNet.Segment3D outSegment3D )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inSegment3D | FilNet.Segment3D | Input segment in 3D. | ||
![]() | inReferencePoint | FilNet.Point3D? | 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. | ||
![]() | outSegment3D | FilNet.Segment3D |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Scale cannot be zero in an inverse rescaling of a segment in RescaleSegment3D. |