Back to FabImage Library website
You are here: Start » Function Reference » Path » Polygon Relations » PolygonIntersection_Convex

PolygonIntersection_Convex
Header: | FIL.h |
---|---|
Namespace: | fil |
Module: | FoundationBasic |
Finds the intersection of two convex non-intersecting polygons.
Syntax
C++
C#
void fil::PolygonIntersection_Convex ( const fil::Path& inPolygon1, const fil::Path& inPolygon2, fil::Path& outIntersection )
Parameters
Name | Type | Default | Description | |
---|---|---|---|---|
![]() |
inPolygon1 | const Path& | ||
![]() |
inPolygon2 | const Path& | ||
![]() |
outIntersection | Path& | Closed polygon in counterclockwise order. |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty path on input in PolygonIntersection_Convex. |
DomainError | Open path on input in PolygonIntersection_Convex. |