Back to Aurora Vision Library website

You are here: Start » Function Reference » Path » Polygon Relations » PolygonIntersection_Convex

PolygonIntersection_Convex


Header: AVL.h
Namespace: avl
Module: FoundationBasic

Finds the intersection of two convex non-intersecting polygons.

Syntax

C++
C#
 
void avl::PolygonIntersection_Convex
(
	const avl::Path& inPolygon1,
	const avl::Path& inPolygon2,
	avl::Path& outIntersection
)

Parameters

Name Type Default Description
Input value inPolygon1 const Path&
Input value inPolygon2 const Path&
Output value outIntersection 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.