CogBeadInspectDefect PropertiesCognex VisionPro 9.7

The CogBeadInspectDefect type exposes the following members.

Properties

  NameDescription
Public propertyArea
Gets the area of the bead path where the defect was detected. The area is defined by summing the bead widths within the defect. This area is specified in units defined by the space selected by the image's SelectedSpaceName.
Public propertyBounds
Gets the bounding box of the defect. The bounding box length is defined by the euclidean distance between the first and last points within the segment of the bead path where the defect is present. The bounding box height is defined by the largest bead width within the segment of the bead path where the defect is present. This box is specified in units defined by the space selected by the image's SelectedSpaceName.
Public propertyDefectClass
Gets the categories that describe the defect, specified as bitwise ORed flags defined by the CogBeadInspectDefectTypeConstants enumeration.
Public propertyEndPositionX
Gets the x-coordinate of the last point along the segment of the bead path where the defect was detected. This coordinate is specified in units defined by the space selected by the image's SelectedSpaceName.
Public propertyEndPositionY
Gets the y-coordinate of the last point along the segment of the bead path where the defect was detected. This coordinate is specified in units defined by the space selected by the image's SelectedSpaceName.
Public propertySize
Gets the length of the path between the first and last points along the segment of the bead path where the defect was detected. This length is specified in units defined by the space selected by the image's SelectedSpaceName.
Public propertyStartPositionX
Gets the x-coordinate of the first point along the segment of the bead path where the defect was detected. This coordinate is specified in units defined by the space selected by the image's SelectedSpaceName.
Public propertyStartPositionY
Gets the y-coordinate of the first point along the segment of the bead path where the defect was detected. This coordinate is specified in units defined by the space selected by the image's SelectedSpaceName.
Top
See Also