You are here: Start » FIL.NET » Function Reference » Geometry 2D » Geometry 2D Spatial Transforms » FIL.TrimSegmentToPolygon
Finds all subsegments that are inside a given polygon.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void TrimSegmentToPolygon ( FilNet.Path inPolygon, FilNet.Segment2D inSegment, IList<FilNet.Segment2D> outSubsegments )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPolygon | FilNet.Path | ||||
inSegment | FilNet.Segment2D | ||||
outSubsegments | System.Collections.Generic.IList<FilNet.Segment2D> |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty path on input in TrimSegmentToPolygon. |
DomainError | Open path on input in TrimSegmentToPolygon. |