CogTransform2DRigid Compose Method Cognex VisionPro 9.8
Returns a new rigid transform which is the composition of the given transform (on the right side) and this one (on the left side).

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

public CogTransform2DRigid Compose(
	CogTransform2DRigid rightSide
)

Return Value

Type: CogTransform2DRigid
The result of the composition.
Exceptions

ExceptionCondition
ArgumentExceptionIf rightSide is NULL.
Remarks

The order in which you compose transformations is important.If you have a transform that maps AFromB and another that maps BFromC,you compose the two to get a single transform that maps AFromC as follows: AFromB.Compose(BFromC).

Compose(CogTransform2DLinear) performs the same operation as the ComposeBase(ICogTransform2D) method of ICogTransform2D. The only difference is the type of the returned object:CogTransform2DRigid.Compose(CogTransform2DRigid) method returns a rigid transform.

See Also