You are here: Start » AVL.NET » AVL.PointsBoundingCircle Method

AVL.PointsBoundingCircle Method

Computes the smallest circle containing an array of points.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void PointsBoundingCircle(
	AvlNet.Point2D[] inPoints,
	out AvlNet.Circle2D outBoundingCircle
)

Parameters

Name Type Range Default Description
inPointsAvlNet.Point2D
outBoundingCircleAvlNet.Circle2D

Examples

The resulting outBoundingCircle drawn with the input points.

Errors

Error type Description
DomainError Empty array on input in PointsBoundingCircle.

See also