You are here: Start » FIL.NET » Function Reference » Region » Region Features » FIL.RegionCaliperDiameter
Computes the longest and the shortest width of the input region measured as distance between parallel lines containing the whole region.
Namespace: | FilNet |
---|---|
Assembly: | FIL.NET.dll |
Syntax
C++
C#
public static void RegionCaliperDiameter ( FilNet.Region inRegion, out FilNet.Segment2D outMinDiameter, out float outMinDiameterLength, out FilNet.Segment2D outMaxDiameter, out float outMaxDiameterLength )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inRegion | FilNet.Region | Input region. | ||
![]() | outMinDiameter | FilNet.Segment2D | |||
![]() | outMinDiameterLength | float | |||
![]() | outMaxDiameter | FilNet.Segment2D | |||
![]() | outMaxDiameterLength | float |
Errors
List of possible exceptions:
Error type | Description |
---|---|
DomainError | Empty region on input in RegionCaliperDiameter. |