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


