CogBeadInspectTrainResult GetCaliperCenterLengthsRotationSkew Method Cognex VisionPro 9.24
Fills the geometric output arguments for the given caliper index. The numerical output arguments define the affine rectangle of the caliper at the given index along the trained path.

Namespace: Cognex.VisionPro.EdgeInspect
Assembly: Cognex.VisionPro.EdgeInspect (in Cognex.VisionPro.EdgeInspect.dll) Version: 91.0.0.0
Syntax

public void GetCaliperCenterLengthsRotationSkew(
	int index,
	out double centerX,
	out double centerY,
	out double sideXLength,
	out double sideYLength,
	out double rotation,
	out double skew
)

Parameters

index
Type: System Int32
The index of the caliper along the trained path.
centerX
Type: System Double 
centerY
Type: System Double 
sideXLength
Type: System Double 
sideYLength
Type: System Double 
rotation
Type: System Double 
skew
Type: System Double 
Exceptions

ExceptionCondition
IndexOutOfRangeException The given index is less than zero, or too large to index the trained calipers of this train result.
Remarks

If you want a graphic CogRectangleAffine that describes the caliper (instead of numerical values), please use GetCaliperRectangleAffine(Int32).
See Also