CogTransform2DComposed Merge Method Cognex VisionPro 9.20
Merges the RightSide composed transform into this composed transform, on right. This is the opposite of Split. If Copy is true, RightSide's contained transforms are added to the sequence by value, otherwise they are added by reference.

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

public void Merge(
	CogTransform2DComposed rightSide,
	bool copy
)

Parameters

rightSide
Type: Cognex.VisionPro CogTransform2DComposed

The transformation to merge with this one.

copy
Type: System Boolean

If true, the transformations within rightSide are copied into this object. Otherwise, they are added by reference.

Events

Event TypeReason
CogTransform2DComposed Changed

Fires when the transformations are merged.

The following state flags may be affected:

    Exceptions

    ExceptionCondition
    ArgumentException

    rightSide is NULL.

    Remarks

    Merges the supplied composed transformation with this one. The supplied transform is composed on the right side of this transformation. This function is the opposite of Split(Int32). If copy is true, the transformations contained within rightSide are added by value (copied). If copy is false, then they are added by reference.

    Unlike Compose(ICogTransform2D), this function modifies the state of this object; it does not return a new transformation.

    See Also