CogTransform2DComposed Split Method Cognex VisionPro 9.25 SR1
Splits this composed transform into two composed transforms just before Index. This object becomes the left part and the right part is returned.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 93.1.0.0
Syntax

public CogTransform2DComposed Split(
	int index
)

Parameters

index
Type: System Int32

The zero-based index at which to split this transformation. Transforms with indices up to but not including index are retained in this object; the remaining transformations become the returned object.

Return Value

Type: CogTransform2DComposed

The returned transformation, which contains all transforms from this object with indices greater than or equal to index.

Events

Event TypeReason
CogTransform2DComposed Changed

Fires when the transformation is split.

The following state flags may be affected:

    Exceptions

    ExceptionCondition
    ArgumentException

    index is < 0 or > Count−1

    Remarks

    Splits this composed transformation into two composed transformations at the specified point. The transformations starting at the specified index are removed from this object and returned as a new composed transformation.

    See Also