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 | |
|---|---|---|---|---|
![]() |
inRegion | Region | Input region | |
![]() |
outMinDiameter | Segment2D | None | None | |
![]() |
outMinDiameterLength | float | ||
![]() |
outMaxDiameter | Segment2D | None | None | |
![]() |
outMaxDiameterLength | float |


