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.EdgeInspectAssembly: Cognex.VisionPro.EdgeInspect (in Cognex.VisionPro.EdgeInspect.dll) Version: 79.0.0.0
public void GetCaliperCenterLengthsRotationSkew(
int index,
out double centerX,
out double centerY,
out double sideXLength,
out double sideYLength,
out double rotation,
out double skew
)
public void GetCaliperCenterLengthsRotationSkew(
int index,
out double centerX,
out double centerY,
out double sideXLength,
out double sideYLength,
out double rotation,
out double skew
)
Public Sub GetCaliperCenterLengthsRotationSkew (
index As Integer,
<OutAttribute> ByRef centerX As Double,
<OutAttribute> ByRef centerY As Double,
<OutAttribute> ByRef sideXLength As Double,
<OutAttribute> ByRef sideYLength As Double,
<OutAttribute> ByRef rotation As Double,
<OutAttribute> ByRef skew As Double
)
Public Sub GetCaliperCenterLengthsRotationSkew (
index As Integer,
<OutAttribute> ByRef centerX As Double,
<OutAttribute> ByRef centerY As Double,
<OutAttribute> ByRef sideXLength As Double,
<OutAttribute> ByRef sideYLength As Double,
<OutAttribute> ByRef rotation As Double,
<OutAttribute> ByRef skew As Double
)
public:
void GetCaliperCenterLengthsRotationSkew(
int index,
[OutAttribute] double% centerX,
[OutAttribute] double% centerY,
[OutAttribute] double% sideXLength,
[OutAttribute] double% sideYLength,
[OutAttribute] double% rotation,
[OutAttribute] double% skew
)
public:
void GetCaliperCenterLengthsRotationSkew(
int index,
[OutAttribute] double% centerX,
[OutAttribute] double% centerY,
[OutAttribute] double% sideXLength,
[OutAttribute] double% sideYLength,
[OutAttribute] double% rotation,
[OutAttribute] 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
| Exception | Condition |
|---|
| IndexOutOfRangeException |
The given index is less than zero, or too large
to index the trained calipers of this train result.
|
If you want a graphic
CogRectangleAffine
that describes the caliper (instead of numerical values), please use
GetCaliperRectangleAffine(Int32).