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

AVS.RegionMassCenter Method

Computes a point with coordinates equal to the average coordinates of the region's pixels.

Namespace:AvlNet
Assembly:AVL.NET.dll

Syntax

public static void RegionMassCenter
(
	AvlNet.Region inRegion,
	out AvlNet.Point2D outMassCenter,
	NullableValue<int> outArea
)

Parameters

Name Type Range Default Description
inRegionAvlNet.RegionInput region.
outMassCenterAvlNet.Point2D
outAreaAvlNet.NullableValue<int> Can be null to skip this parameter calculation.

Function Overrides

See also