You are here: Start » AVL.NET » Invoke.PointsDiameter

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
inPointsSystem.Collections.Generic.List<Avl.Point2D>Input array of points.
outDiameterAtl.Optional<Avl.Segment2D>Longest segment found.
outDiameterLengthAtl.Optional<float>Length of longest segment found.

See also