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
Input value
inPolygon1 const Path&
Input value
inPolygon2 const Path&
Output value
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.