You are here: Start » AVL.NET » Invoke.RegionMassCenter
Computes a point with coordinates equal to the average coordinates of the region's pixels.
Namespace: | Avl |
---|---|
Assembly: | AvlNet.dll |
Syntax
C++
C#
public static void RegionMassCenter ( Avl.Region inRegion, out Avl.Point2D outMassCenter, Optional<int> outArea )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
![]() | inRegion | Avl.Region | Input region. | ||
![]() | outMassCenter | Avl.Point2D | |||
![]() | outArea | Atl.Optional<int> |