EdgeType Property

Applies To
Vision Objects: ArcFinder, ArcInspector, BoxFinder, Contour, CornerFinder, Edge, LineFinder, LineInspector

Description
Sets / gets the type of edge to search for.

Usage

VGet  Sequence.Object.EdgeType, var
VSet  Sequence.Object.EdgeType, value
Sequence
Name of a sequence or string variable containing a sequence name.
Object
Name of an object or string variable containing an object name. The object must exist in the specified sequence.
var
Integer variable that will contain the value of the property.
value
Integer value or expression for the new value of the property.

Values

  • 1 - Single
    • Vision constant: VISION_EDGETYPE_SINGLE
  • 2 - Pair
    • Vision constant: VISION_EDGETYPE_PAIR

Default: 1 - Single

Remarks
Use EdgeType to choose whether to search for a single edge or an edge pair. An edge pair is two opposing edges. The coordinate of the pair is the midpoint of the line between the two edge coordinates.

See Also
Edge Object, LineFinder Object, ArcFinder Object, LineInspector Object, ArcInspector Object, BoxFinder Object, Contour Object, CornerFinder Object