Transform2DRigid Compose Method Cognex VisionPro 9.21

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.Vision
Assembly: Cognex.Vision.Core.Net (in Cognex.Vision.Core.Net.dll) Version: 9.21.0.0
Syntax

public Transform2DRigid Compose(
	Transform2DRigid rightSide
)

Parameters

rightSide
Type: Cognex.Vision Transform2DRigid
The transformation to compose with this one.

Return Value

Type: Transform2DRigid
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