You are here: Start » AVL.NET » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » AVL.TrimPath
Creates a path contained in a box from another path.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void TrimPath ( AvlNet.Path inPath, AvlNet.Box inBox, AvlNet.TrimPathMethod inTrimPathMethod, AvlNet.Path outPath )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPath | AvlNet.Path | Input path. | ||
![]() | inBox | AvlNet.Box | |||
![]() | inTrimPathMethod | AvlNet.TrimPathMethod | PointToPoint | Default value: PointToPoint. | |
![]() | outPath | AvlNet.Path | Output path. |
Examples
![]() |
![]() |
TrimPath performed on the sample box and path.
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Unknown method for cropping a path in TrimPath. |