Cog3DCoordinateSpaceTree GetTransform Method Cognex VisionPro
Return a composed transform which can map points from the 'from' coordinate space to the 'to' space.

Namespace: Cognex.VisionPro3D
Assembly: Cognex.VisionPro3D.Core (in Cognex.VisionPro3D.Core.dll) Version: 65.1.0.0
Syntax

public ICog3DTransform GetTransform(
	string toSpaceName,
	string fromSpaceName
)

Parameters

toSpaceName
Type: System String

A valid nonqualified or fully-qualified space name that indicates the coordinate space to which to map points.

fromSpaceName
Type: System String

A valid nonqualified or fully-qualified space name. This name indicates the coordinate space from which to map points into the toSpaceName.

Return Value

Type: ICog3DTransform

The resulting 3D transform.

Exceptions

ExceptionCondition
CogSpaceTreeInvalidNameSyntaxException

toSpaceName or fromSpaceName is not a legal space name.

CogSpaceTreeNameNotUniqueException

toSpaceName or fromSpaceName is a nonqualified space name and more than one instance of it exists in this tree.

CogSpaceTreeNameNotInTreeException

toSpaceName or fromSpaceName does not exist in this tree.

Remarks

Returns a composed transform that maps points from one coordinate space to another.

See Also