CogImage16Range MapPoint2DFrom3D Method Cognex VisionPro
Maps the supplied three dimensional point into the specified two dimensional space. This is accomplished by first mapping the input three dimensional point to root space. The X and Y coodinates of this root space point are then mapped to the specified two dimensional space to produce the output two dimensional point.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.CorePlus (in Cognex.VisionPro.CorePlus.dll) Version: 65.1.0.0
Syntax

public void MapPoint2DFrom3D(
	string DstPoint2DSpaceName,
	string SrcPoint3DSpaceName,
	Cog3DVect3 SrcPoint3D,
	out Cog3DVect2 DstPoint2D
)

Parameters

DstPoint2DSpaceName
Type: System String
The destination two dimensional space name.
SrcPoint3DSpaceName
Type: System String
The source three dimensional space name.
SrcPoint3D
Type: Cognex.VisionPro3D Cog3DVect3
The source three dimensional point.
DstPoint2D
Type: Cognex.VisionPro3D Cog3DVect2 
The resulting mapped two dimensional point.
Exceptions

ExceptionCondition
ArgumentNullException If DstPoint2DSpaceName is null.
ArgumentNullException If SrcPoint3DSpaceName is null.
See Also