You are here: Start » AVL.NET » AVS.RegionMassCenter_OrNil Method
AVS.RegionMassCenter_OrNil Method
Computes a point with coordinates equal to the average coordinates of the region's pixels; returns NIL if the region is empty.
Namespace: | AvlNet |
---|---|
Assembly: | AVL.NET.dll |
Syntax
public static void RegionMassCenter_OrNil ( AvlNet.Region inRegion, out AvlNet.Point2D? outMassCenter, out int? outArea )
Parameters
Name | Type | Range | Default | Description | |
---|---|---|---|---|---|
inRegion | AvlNet.Region | Input region. | |||
outMassCenter | AvlNet.Point2D? | ||||
outArea | int? |
Function Overrides
- RegionMassCenter_OrNil(Region, Nullable<Point2D>)
- RegionMassCenter_OrNil(Region, Nullable<Point2D>, NullableRef<NullableValue<Int32>>)