You are here: Start » AVL.NET » Function Reference » Region » Region Spatial Transforms » AVL.TrimRegionToPolygon
Removes region elements lying beyond the specified polygon.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void TrimRegionToPolygon ( AvlNet.Region inRegion, AvlNet.Path inPolygon, AvlNet.Region outRegion )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inRegion | AvlNet.Region | Input region. | |||
inPolygon | AvlNet.Path | ||||
outRegion | AvlNet.Region | Output region. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Path is not closed in TrimRegionToPolygon. |