CogTransform2DLinescan ComposeBase Method Cognex VisionPro
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.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 65.1.0.0
Syntax

public virtual ICogTransform2D ComposeBase(
	ICogTransform2D rightSide
)

Parameters

rightSide
Type: Cognex.VisionPro ICogTransform2D

The transform object to compose with this one.

Return Value

Type: ICogTransform2D

An CogTransform2D that represents the result of the composition.

Implements

ICogTransform2D ComposeBase(ICogTransform2D)
Exceptions

ExceptionCondition
ArgumentException

rightSide is NULL.

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(CogTransform2DLinear) method of CogTransform2DLinear. 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