PointsCaliperDiameter


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

Syntax

C++
C#
Python
 
def PointsCaliperDiameter(
	inPoints: list[Point2D],
	/,
	*,
	outMinDiameter: Segment2D | None = None,
	outMaxDiameter: Segment2D | None = None
)
-> (
	outMinDiameterLength: float,
	outMaxDiameterLength: float
)

Parameters

Name Type Default Description
Input value inPoints list[Point2D]
Output value outMinDiameter Segment2D | None None
Output value outMinDiameterLength float
Output value outMaxDiameter Segment2D | None None
Output value outMaxDiameterLength float