You are here: Start » AVL.NET » Function Reference » Path » Polygon Relations » AVL.PolygonIntersection_Convex
Finds the intersection of two convex non-intersecting polygons.
| Namespace: | AvlNet |
|---|---|
| Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void PolygonIntersection_Convex ( AvlNet.Path inPolygon1, AvlNet.Path inPolygon2, AvlNet.Path outIntersection )
Parameters
| Name | Type | Range | Default | Description | |
|---|---|---|---|---|---|
![]() | inPolygon1 | AvlNet.Path | |||
![]() | inPolygon2 | AvlNet.Path | |||
![]() | outIntersection | AvlNet.Path |
Errors
List of possible exceptions:
| Error type | Description |
|---|---|
| DomainError | Concave polygon on input in PolygonIntersection_Convex. |
| DomainError | Empty path on input in PolygonIntersection_Convex. |
| DomainError | Open path on input in PolygonIntersection_Convex. |


