PointsDiameter
Finds the longest segment connecting two points from a given array.
Syntax
C++
Python
def PointsDiameter( inPoints: list[Point2D], /, *, outDiameter: Segment2D | None = None ) -> outDiameterLength: float
Parameters
| Name | Type | Default | Description | |
|---|---|---|---|---|
![]() |
inPoints | list[Point2D] | Input array of points | |
![]() |
outDiameter | Segment2D | None | None | Longest segment found |
![]() |
outDiameterLength | float | Length of longest segment found |


