You are here: Start » AVL.NET » 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 | |
---|---|---|---|---|---|
inPath | AvlNet.Path | Input path. | |||
outMinDiameter | AvlNet.Segment2D | ||||
outMinDiameterLength | float | ||||
outMaxDiameter | AvlNet.Segment2D | ||||
outMaxDiameterLength | float |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty path on input in PathCaliperDiameter. |