Cog3DCameraCalibration MapPointFromRaw2DToPhys3D Method Cognex VisionPro 9.20
Map a 2D point from Raw2D to a 3D point in Phys3D. The 3D physical point is computed by intersecting the ray corresponding to a 2D raw image point with the given plane in Phys3D.

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

public void MapPointFromRaw2DToPhys3D(
	Cog3DVect2 pointRaw2D,
	Cog3DPlane planePhys3D,
	ref Cog3DVect3 pointPhys3D,
	ref Cog3DShapeIntersectionStatusConstants resultStatus
)

Parameters

pointRaw2D
Type: Cognex.VisionPro3D Cog3DVect2
The 2D point in Raw2D space.
planePhys3D
Type: Cognex.VisionPro3D Cog3DPlane
The 3D plane in Phys3D used for intersection with the ray. May not be null.
pointPhys3D
Type: Cognex.VisionPro3D Cog3DVect3 
A reference to the 3D point to store the resulting intersection position between the ray and the plane.
resultStatus
Type: Cognex.VisionPro3D Cog3DShapeIntersectionStatusConstants 
jA reference to the intersection result status to store the intersection status.
Exceptions

ExceptionCondition
ArgumentNullException If planePhys3D is null.
Remarks

The resultStatus is set to Cog3DShapeIntersectionStatusConstants.Intersect if pointPhys3D is computed; Otherwise it is set to Cog3DShapeIntersectionStatusConstants.None, and pointPhys3D is not updated.
See Also