You are here: Start » AVL.NET » AVS.PointsDiameter Method
AVS.PointsDiameter Method
Finds the longest segment connecting two points from a given array.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void PointsDiameter ( IList<AvlNet.Point2D> inPoints, NullableValue<AvlNet.Segment2D> outDiameter, NullableValue<float> outDiameterLength )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inPoints | System.Collections.Generic.IList<AvlNet.Point2D> | Input array of points. | |||
outDiameter | AvlNet.NullableValue<AvlNet.Segment2D> | Longest segment found. Can be null to skip this parameter calculation. | |||
outDiameterLength | AvlNet.NullableValue<float> | Length of longest segment found. Can be null to skip this parameter calculation. |