You are here: Start » AVL.NET » AVL.PointsBoundingCircle
Computes the smallest circle containing an array of points.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
C++
C#
public static void PointsBoundingCircle ( AvlNet.Point2D[] inPoints, out AvlNet.Circle2D outBoundingCircle )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoints | AvlNet.Point2D[] | |||
![]() | outBoundingCircle | AvlNet.Circle2D |
Examples
![]() |
The resulting outBoundingCircle drawn with the input points.
Errors
Error type | Description |
---|---|
DomainError | Empty array on input in PointsBoundingCircle. |