You are here: Start » AVL.NET » AVL.RegionElongation(AvlNet.Region, float)

AVL.RegionElongation(AvlNet.Region, float)

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax


public static void RegionElongation(
	AvlNet.Region inRegion,
	out float outElongation
)

Parameters

inRegion
Type: AvlNet.Region
outElongation
Type: System.Single

Description

Elongation is a measure of how long the shape is in relation to its width. The perfect circle has the minimal elongation equal to 1.0, while the upper bound doesn't exist. The operation internally approximates the region with an ellipse, and then computes the result as: Where L denotes the longer axis of the approximating ellipse, and S denotes the shorter one.

Examples

Elongation of the sample region equals to 1.702.

Elongation of the sample region equals to 3.168.

See also