You are here: Start » AVL.NET » AVS.RegionCaliperDiameter Method

AVS.RegionCaliperDiameter Method

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

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void RegionCaliperDiameter
(
	AvlNet.Region inRegion,
	out AvlNet.Segment2D outMinDiameter,
	out float outMinDiameterLength,
	out AvlNet.Segment2D outMaxDiameter,
	out float outMaxDiameterLength
)

Parameters

Name Type Range Default Description
inRegionAvlNet.RegionInput region.
outMinDiameterAvlNet.Segment2D
outMinDiameterLengthfloat
outMaxDiameterAvlNet.Segment2D
outMaxDiameterLengthfloat

Function Overrides

See also