You are here: Start » AVL.NET » AVS.PointsCaliperDiameter Method

AVS.PointsCaliperDiameter Method

Computes the longest and the shortest width of the input points measured as distance between parallel lines containing all of them.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void PointsCaliperDiameter
(
	IList<AvlNet.Point2D> inPoints,
	NullableValue<AvlNet.Segment2D> outMinDiameter,
	NullableValue<float> outMinDiameterLength,
	NullableValue<AvlNet.Segment2D> outMaxDiameter,
	NullableValue<float> outMaxDiameterLength
)

Parameters

Name Type Range Default Description
inPointsSystem.Collections.Generic.IList<AvlNet.Point2D>
outMinDiameterAvlNet.NullableValue<AvlNet.Segment2D> Can be null to skip this parameter calculation.
outMinDiameterLengthAvlNet.NullableValue<float> Can be null to skip this parameter calculation.
outMaxDiameterAvlNet.NullableValue<AvlNet.Segment2D> Can be null to skip this parameter calculation.
outMaxDiameterLengthAvlNet.NullableValue<float> Can be null to skip this parameter calculation.

Function Overrides

See also