Click or drag to resize

RegionsOperatorsmRgnCentroidX Method

The X coordinates of the geometric centroid of the region boundary.

Namespace:  MediaCy.IQL.Operators
Assembly:  MediaCy.IQL.Operators (in MediaCy.IQL.Operators.dll) Version: 3.1.0.0
Syntax
VB
<ExtensionAttribute>
Public Shared Function mRgnCentroidX ( 
	regions As McRegions
) As McMeasure

Parameters

regions
Type: MediaCy.IQL.FeaturesMcRegions

Return Value

Type: McMeasure

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type McRegions. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
This is a boundary polygon-based measurement. So sub-pixel boundary vertex locations are significant. See mRgnPixelCentroidX for the pixel-based equivalent.
See Also