Cog3DRangeImageCrossSectionProfile MapPointToRangeImage Method Cognex VisionPro 9.22
Maps a profile point to a point in the range image SelectedSpaceName.

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

public void MapPointToRangeImage(
	double profilePointX,
	double profilePointY,
	string spaceName,
	out double mappedX,
	out double mappedY
)

Parameters

profilePointX
Type: System Double
The x-coordinate of the profile point.
profilePointY
Type: System Double
The y-coordinate of the profile point.
spaceName
Type: System String
The 2D space name within the CoordinateSpaceTree.
mappedX
Type: System Double 
The resulting mapped x-coordinate in the spaceName specified.
mappedY
Type: System Double 
The resulting mapped Y-coordinate in the spaceName specified.
Exceptions

ExceptionCondition
ArgumentNullException If the spaceName is null.
ArgumentNullException If the ProfileSpaceTree is null.
ArgumentNullException If the CoordinateSpaceTree is null.
ArgumentNullException If the ProfileSelectedSpaceName is null.
CogSpaceTreeNameNotInTreeException If the spaceName is not found in the CoordinateSpaceTree.
See Also