Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 85.1.0.0
Parameters
- rightSide
- Type: Cognex.VisionPro CogTransform2DLinear
The transformation to compose with this one.
Return Value
Type: CogTransform2DLinearThe result of the composition.
| Exception | Condition |
|---|---|
| ArgumentException | rightSide is NULL. |
Returns a new linear transformation object that is the composition of a given transformation object and this one.
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). You do not use: BFromC.Compose(AFromB).
Compose(CogTransform2DLinear) performs the same operation as the ComposeBase(ICogTransform2D) method of CogTransform2D. The only difference is the type of the returned object: CogTransform2DLinear's Compose(CogTransform2DLinear) method returns a linear transform.