IMcRegionsIntersect Method
|
|
Intersect a second McFeatures with this one.
Namespace:
MediaCy.IQL.Features
Assembly:
MediaCy.IQL.Features (in MediaCy.IQL.Features.dll) Version: 10.0.6912.0
SyntaxSub Intersect (
varMcFeaturesSrc As Object
)
Parameters
- varMcFeaturesSrc
- Type: SystemObject
The McFeatures to intersect
Implements
IMcFeaturesIntersect(Object)
RemarksThe resulting features are those from the original state that also match features
from the intersecting features. The interesected McFeatures is not affected.
This method behaves differently depending on the McFeatures type and state. For
McPoints, McLines and McRegions with the mcofKeepRegionsAsUnion OptionFlags
off, features that are identical to ones in the subtracted McFeatures are
preserved, all others are removed (that is, only features common to both
are preserved).; source features that have no match are ignored. In this mode, the
source McFeatures must be of the same type (McPoints, McLines or McRegions)
as this one.
For McRegions with the mcofKeepRegionsAsUnion OptionFlags on, any McFeatures type
may be used as a source. Each pixel from the intersecting McFeatures, treated as
a scan list, is AND'ed with the McRegions pixels. If the source
McFeatures.OptionFlags mcofInvertFeatureMask bit is set, then the source scan
list is inverted before being intersected. Only pixels that are foreground in
both will be preserved. New Identifiers are assigned to the resulting connected
regions.
See Also