CogImage16Range GetTransform3D Method Cognex VisionPro 9.23
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.VisionPro
Assembly: Cognex.VisionPro.CorePlus (in Cognex.VisionPro.CorePlus.dll) Version: 91.0.0.0
Syntax

public ICog3DTransform GetTransform3D(
	string ToSpaceName,
	string FromSpaceName
)

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: ICog3DTransform
Exceptions

ExceptionCondition
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