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

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