You are here: Start » FIL.NET » Function Reference » Geometry 3D » Geometry 3D Spatial Transforms » FIL.RescaleLine3D
Changes the input line in 3D distance to a reference point.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void RescaleLine3D ( FilNet.Line3D inLine3D, FilNet.Point3D inReferencePoint, float inScale, bool inInverse, out FilNet.Line3D outLine3D )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inLine3D | FilNet.Line3D | Input line in 3D. | ||
![]() | inReferencePoint | FilNet.Point3D | The point to which the distance of line in 3D is changed. | ||
![]() | inScale | float | 1.0f | Scaling factor. Default value: 1.0f. | |
![]() | inInverse | bool | Switches to the inverse operation. | ||
![]() | outLine3D | FilNet.Line3D |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Indefinite line on input in RescaleLine3D. |
DomainError | Scale cannot be zero in an inverse rescaling of a line in RescaleLine3D. |