ICogModelFeatureIterator MethodsCognex VisionPro 9.8

The ICogModelFeatureIterator type exposes the following members.

Methods

  NameDescription
Public methodCopy
Makes a copy of this iterator. The copy will be positioned at the same item as this plus the given IndexOffset. For example, if IndexOffset is +1 the copy will be positioned at the next item, if IndexOffset is -1, the copy will be at the previous item.
Public methodGetEffectivePolarity
If this feature has no ParentFeature, then its effective polarity is the value of the Polarity property. If this feature has a ParentFeature, then the effective polarity is the Polarity times the effective polarity of the ParentFeature.
(Inherited from ICogModelFeature.)
Public methodGetEffectiveWeight
If this feature has no ParentFeature, then its effective weight is the value of the Weight property. If this feature has a ParentFeature, then the effective weight is the Weight times the effective weight of the ParentFeature.
(Inherited from ICogModelFeature.)
Public methodMoveToNext
Moves the iterator to the next position, loading that item's properties into this iterator. If the iterator is at the end position, an error is returned. To avoid getting errors, you may wish to check IsEnd.
Public methodMoveToPosition
Moves the iterator to the specified position in the sequence, loading that item's properties into this iterator.
Public methodMoveToPrevious
Moves the iterator to the previous position, loading that item's properties into this iterator. If there are no items before this, an error is returned. To avoid getting errors, you may wish to check IsFirst.
Top
See Also