Back to Aurora Vision Library website

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

PolygonIntersectionArea_Convex


Header: AVL.h
Namespace: avl
Module: FoundationBasic

Computes the intersection area of two convex non-intersecting polygons.

Syntax

C++
C#
 
void avl::PolygonIntersectionArea_Convex
(
	const avl::Path& inPolygon1,
	const avl::Path& inPolygon2,
	float& outIntersectionArea
)

Parameters

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