CogGeneralContourLineSegmentIterator ClassCognex VisionPro 9.8 SR1
Inheritance Hierarchy

System Object
  System MarshalByRefObject
    Cognex.VisionPro.Implementation CogObjectBase
      Cognex.VisionPro.Implementation CogSerializableObjectBase
        Cognex.VisionPro.Implementation.Internal CogGeneralContourLineSegmentIterator

Namespace: Cognex.VisionPro.Implementation.Internal
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 75.0.0.0
Syntax

[SerializableAttribute]
public class CogGeneralContourLineSegmentIterator : CogSerializableObjectBase, 
	ICogGeneralContourLineSegmentIterator, IDeserializationCallback, IDisposable

The CogGeneralContourLineSegmentIterator type exposes the following members.

Constructors

  NameDescription
Public methodCogGeneralContourLineSegmentIterator(IntPtr)
Protected methodCogGeneralContourLineSegmentIterator(SerializationInfo, StreamingContext)
Top
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 methodCreateLineSegment
Creates a gcnew CogLineSegment with the same geometric and graphics properties as this segment.
Public methodCreateObjRef
Creates an object that contains all the relevant information required to generate a proxy used to communicate with a remote object.
(Inherited from MarshalByRefObject.)
Public methodDispose 
Protected methodDispose(Boolean)
Public methodEquals
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Protected methodFinalize (Overrides Object Finalize .)
Protected methodGetAttributes
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetClassName
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetComponentName
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetConverter
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetDefaultEvent
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetDefaultProperty
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEditor
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodGetEllipticalArcSegmentIterator
Gets the iterator interface that provides full access to arc segment properties.
Protected methodGetEvents 
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetEvents( Attribute )
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Inherited from Object.)
Public methodGetLifetimeService
Retrieves the current lifetime service object that controls the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Public methodGetLineSegmentIterator
Gets the iterator interface that provides full access to line segment properties.
Protected methodGetObjectData (Overrides CogSerializableObjectBase GetObjectData(SerializationInfo, StreamingContext).)
Protected methodGetProperties 
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetProperties( Attribute )
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Protected methodGetPropertyOwner
Implements the corresponding member of the ICustomTypeDescriptor interface. May be overridden in derived classes to provide custom type information.
(Inherited from CogObjectBase.)
Public methodGetStartEnd
Returns the start and end coordinates for the line segment.
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodInitializeLifetimeService
Obtains a lifetime service object to control the lifetime policy for this instance.
(Inherited from MarshalByRefObject.)
Protected methodMemberwiseClone 
Creates a shallow copy of the current Object.
(Inherited from Object.)
Protected methodMemberwiseClone(Boolean)
Creates a shallow copy of the current MarshalByRefObject object.
(Inherited from MarshalByRefObject.)
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.
Public methodSetFromLineSegment
Sets the line segment geometry from the given LineSegment. Only the geometry is copied, graphics properties are ignored. Note that this method also changes the geometry of any connected segments because it changes both Start and End of this segment.
Public methodSetStartEnd
Sets the start and end coordinates for the line segment. Note that this may change the start or end coordinates of any segments connected to this one.
Public methodToString
Returns a String that represents the current Object.
(Inherited from Object.)
Top
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