Returns a transform that maps three dimensional points
from the 'From' space to the 'To' space.
The special string "." is accepted as an alias
for the SelectedSpaceName3D of this image.
Namespace: Cognex.VisionProAssembly: Cognex.VisionPro.CorePlus (in Cognex.VisionPro.CorePlus.dll) Version: 91.0.0.0
Syntax
Parameters
- ToSpaceName
- Type: System String
The name of the three dimensional coordinate space to transform the point to. The special string "." is accepted as an alias for the SelectedSpaceName3D of this image.
- FromSpaceName
- Type: System String
The name of the three dimensional coordinate space to transform the point from. The special string "." is accepted as an alias for the SelectedSpaceName3D of this image.
Return Value
Type: ICog3DTransformExceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | If ToSpaceName is null. |
| ArgumentNullException | If FromSpaceName is null. |
| CogImageNoTreeException | If CoordinateSpaceTree3D is null. |
| CogSpaceTreeNameNotInTreeException | If either space name is not found in the |
See Also