Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 91.0.0.0
Parameters
- rightSide
- Type: Cognex.VisionPro ICogTransform2D
The transform object to compose with this one.
Return Value
Type: ICogTransform2DAn CogTransform2D that represents the result of the composition.
Implements
ICogTransform2D ComposeBase(ICogTransform2D)| Exception | Condition |
|---|---|
| ArgumentException | rightSide is NULL. |
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).