Back to Adaptive Vision Library website

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

PolygonInscribedCircle


Header: AVL.h
Namespace: avl
Module: FoundationBasic

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

Syntax

C++
C#
 
void avl::PolygonInscribedCircle
(
	const avl::Path& inPolygon,
	avl::Circle2D& outInscribedCircle
)

Parameters

Name Type Default Description
inPolygon const Path&
outInscribedCircle Circle2D&

Errors

List of possible exceptions:

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