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

AVL.PathCaliperDiameter

Computes the longest and the shortest width of the input path measured as distance between parallel lines containing the whole path.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

C++
C#
 
public static void PathCaliperDiameter
(
	AvlNet.Path inPath,
	out AvlNet.Segment2D outMinDiameter,
	out float outMinDiameterLength,
	out AvlNet.Segment2D outMaxDiameter,
	out float outMaxDiameterLength
)

Parameters

Name Type Range Default Description
inPathAvlNet.PathInput path.
outMinDiameterAvlNet.Segment2D
outMinDiameterLengthfloat
outMaxDiameterAvlNet.Segment2D
outMaxDiameterLengthfloat

Errors

List of possible exceptions:

Error type Description
DomainError Empty path on input in PathCaliperDiameter.

Function Overrides

See also