You are here: Start » AVL.NET » Function Reference » Path » Polygon Features » AVL.PolygonInscribedCircle

AVL.PolygonInscribedCircle

Computes the circle with the maximal possible area contained in the input polygon.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void PolygonInscribedCircle
(
	AvlNet.Path inPolygon,
	out AvlNet.Circle2D outInscribedCircle
)

Parameters

Name Type Range Default Description
inPolygonAvlNet.Path
outInscribedCircleAvlNet.Circle2D

Errors

List of possible exceptions:

Error type Description
DomainError Empty path on input in PolygonInscribedCircle.
DomainError Open path on input in PolygonInscribedCircle.

See also