You are here: Start » AVL.NET » Invoke.PointsDiameter
Finds the longest segment connecting two points from a given array.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void PointsDiameter ( List<Avl.Point2D> inPoints, Optional<Avl.Segment2D> outDiameter, Optional<float> outDiameterLength )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inPoints | System.Collections.Generic.List<Avl.Point2D> | Input array of points. | ||
![]() | outDiameter | Atl.Optional<Avl.Segment2D> | Longest segment found. | ||
![]() | outDiameterLength | Atl.Optional<float> | Length of longest segment found. |