You are here: Start » AVL.NET » Function Reference » Region » Region Spatial Transforms » AVL.TrimRegionToPolygon

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
inRegionAvlNet.RegionInput region.
inPolygonAvlNet.Path
outRegionAvlNet.RegionOutput region.

Errors

List of possible exceptions:

Error type Description
DomainError Path is not closed in TrimRegionToPolygon.

See also