CogGeneralContourLineSegmentIterator PropertiesCognex VisionPro 9.22 SR1

The CogGeneralContourLineSegmentIterator type exposes the following members.

Properties

  NameDescription
Public propertyAttributes
Returns property bits describing which iterator methods can be called at the current position of the iterator.
Public propertyContainer
Returns a reference to the container object being iterated. This can be used for identifying the iterator's container.
Public propertyCustomPen
Returns/sets the key that refers to the custom pen properties used for drawing this segment. A key of 0 (the default) causes the segment to use the pen properties of the contour.
Public propertyEndAdornmentCustomPen
Returns/sets the custom pen used to draw the adornment at the end point of the segment.
Public propertyEndAngle
Computes the angle of the tangent to this segment's shape at the end of the segment.
Public propertyEndFlags
Returns the flags describing the contour's behavior at end point of the segment.
Public propertyEndX
Returns/sets the X coordinate of the end point of the segment.
Public propertyEndY
Returns/sets the Y coordinate of the end point of the segment.
Public propertyIsEnd
Returns True if this iterator is positioned past the last item of the sequence. If True, calling MoveToNext will return an error, and attempting to read item properties will produce an error. Moving the iterator to a valid item will validate it.
Public propertyIsFirst
Returns True if this is the first item. If True, a call to MoveToPrevious would return an error.
Public propertyIsInvalid
Returns True if this iterator is not positioned at a valid item. If True, reading or writing any item properties will produce errors.
Public propertyLength
Computes the length of this segment of the contour.
Public propertyPosition
Returns the position of the iterator in the container.
Public propertySegmentType
Returns the type of this segment of the contour. The segment type can be used to choose the most specific iterator to extract all information about the segment.
Public propertyStartAdornmentCustomPen
Returns/sets the custom pen used to draw the adornment at the start point of the segment.
Public propertyStartAngle
Computes the angle of the tangent to this segment's shape at the start of the segment.
Public propertyStartFlags
Returns the flags describing the contour's behavior at start point of the segment.
Public propertyStartX
Returns/sets the X coordinate of the start point of the segment.
Public propertyStartY
Returns/sets the Y coordinate of the start point of the segment.
Top
See Also