You are here: Start » FIL.NET » Function Reference » Path » Path Global Transforms » FIL.StretchPath
FIL.StretchPath
Moves, rotates and scales the path so that its end-points end up at the given two points.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void StretchPath ( FilNet.Path inPath, FilNet.Point2D inNewEndpoint1, FilNet.Point2D inNewEndpoint2, FilNet.Path outPath )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPath | FilNet.Path | Input path, must be open. | ||
![]() | inNewEndpoint1 | FilNet.Point2D | New starting point of the path. | ||
![]() | inNewEndpoint2 | FilNet.Point2D | New ending point of the path. | ||
![]() | outPath | FilNet.Path | Output path. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Path cannot be closed in StretchPath. |
DomainError | Path too short in Stretch Path. |