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 point cloud.
Namespace: Cognex.VisionPro3DAssembly: Cognex.VisionPro.CorePlus (in Cognex.VisionPro.CorePlus.dll) Version: 75.1.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 point cloud.
- 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 point cloud.
Return Value
Type: ICog3DTransformExceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | If ToSpaceName is null. |
| ArgumentNullException | If FromSpaceName is null. |
| CogSpaceTreeNameNotInTreeException | If either space name is not found in the CoordinateSpaceTree3D. |
Remarks
See Also