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

AVL.PathBoundingCircle Method

Computes the smallest circle enclosing a path.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void PathBoundingCircle(
	AvlNet.Path inPath,
	out AvlNet.Circle2D outBoundingCircle
)

Parameters

Name Type Range Default Description
inPathAvlNet.PathInput path.
outBoundingCircleAvlNet.Circle2D

Examples

The resulting outBoundingCircle circle drawn onto the sample path.

Errors

Error type Description
DomainError Empty path on input in PathBoundingCircle.

See also