RegionCaliperDiameter


Computes the longest and the shortest width of the input region measured as distance between parallel lines containing the whole region.

Syntax

C++
C#
Python
 
def RegionCaliperDiameter(
	inRegion: Region,
	/,
	*,
	outMinDiameter: Segment2D | None = None,
	outMaxDiameter: Segment2D | None = None
)
-> (
	outMinDiameterLength: float,
	outMaxDiameterLength: float
)

Parameters

Name Type Default Description
Input value inRegion Region Input region
Output value outMinDiameter Segment2D | None None
Output value outMinDiameterLength float
Output value outMaxDiameter Segment2D | None None
Output value outMaxDiameterLength float