Start » Filter Reference » Region » Region Features » RegionMassCenter_OrNil

RegionMassCenter_OrNil


Module: FoundationLite

Computes a point with coordinates equal to the average coordinates of the region's pixels; returns NIL if the region is empty.

Name Type Description
Input value
inRegion Region Input region
Output value
outMassCenter Point2D?
Output value
outArea Integer?

Examples

Description of usage of this filter can be found in examples and tutorial: Seat Mount.

Complexity Level

This filter is available on Basic Complexity Level.

Filter Group

This filter is member of RegionMassCenter filter group.