Description

For each hole, the feature index of its parent region feature.

Property type

A McMeasure object.  

Syntax

object.miRgnHoleParent

The miRgnHoleParent Property syntax has these parts:

PartDescription
objectAn expression evaluating to an object of type McRegions.

Remarks

This is a non-standard measurement in two ways: it is an array of length equal to the total number of holes in all features (that is equal to Holes.Count) and the type of the measurement is a Long index value rather than a Double numeric value; standard measurements are an array equal to the measured McRegion.Count property (that is, one result per region feature). The each element of the results array corresponds to the associated region feature in the Holes property (or in the mrRgnHolesAsRegions.Value) and gives the feature index of the region feature in which the hole resides.

This is a pixel-based measurement. Holes will for only exist for regions created by the McThreshold.Execute method or McFeatures.SetFromMask method (an assignment to the Holes property will also create holes).

Note that a “hole” and a “nested region” are different things (see the Holes and NestedWithin properties for more discussion).