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

AVL.PolygonIntersectionArea_Convex

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void PolygonIntersectionArea_Convex
(
	AvlNet.Path inPolygon1,
	AvlNet.Path inPolygon2,
	out float outIntersectionArea
)

Parameters

Name Type Range Default Description
inPolygon1AvlNet.Path
inPolygon2AvlNet.Path
outIntersectionAreafloat

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.

See also