SamplingPitchProperty

Applies To
Vision Object: Contour

Description
Specifies the degree to which contour points are thinned out.

Usage

VGet  Sequence.Object.SamplingPitch, var
VSet  Sequence.Object.SamplingPitch, value
Sequence
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 expression for the new value of the property.

Values
Integer value from 0 to 999.

Remarks
With regard to Contour objects, after tracing object contours, the number of contour points is reduced according to the SamplingPitch property value. Increase the SamplingPitch value to reduce the number of contour points. Further, note that if the ContourTolerance property value is low, the number of contour points may not be thinned out along certain segments in order to acquire an accurate trajectory for the workpiece contour. If unnecessary contour points are output, increase the ContourTolerance property value.

See Also
Contour Object, ContourTolerance Property