Transform2DComposed ComposeBase Method Cognex VisionPro 9.24

Returns a new 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.24.0.0
Syntax

public ITransform2D ComposeBase(
	ITransform2D rightSide
)

Parameters

rightSide
Type: Cognex.Vision ITransform2D
The transform object to compose with this one.

Return Value

Type: ITransform2D

Implements

ITransform2D ComposeBase(ITransform2D)
Remarks

Returns a new transform that is the composition of this transform and the specified transform. This function performs the same operation as the Compose method of Transform2DLinear. However, this method returns the transform of most suitable type based on the types of the transform objects being composed. For example, if you compose two linear transforms, the resulting transform is linear. 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.ComposeBase(BFromC). You do not use: BFromC.ComposeBase(AFromB).

See Also