Azure Kinect Sensor SDK  refs/heads/master
Documentation for https://github.com/Microsoft/Azure-Kinect-Sensor-SDK

◆ TransformTo2D() [2/2]

Vector2 Microsoft.Azure.Kinect.Sensor.Calibration.TransformTo2D ( Vector3  sourcePoint3D,
CalibrationDeviceType  sourceCamera,
CalibrationDeviceType  targetCamera 
)
inline

Transform a 3D point of a source coordinate system into a 2D pixel coordinate of the target camera.

Parameters
sourcePoint3DThe 3D coordinate in millimeters representing a point in sourceCamera coordinate system.
sourceCameraThe current camera.
targetCameraThe target camera.
Returns
The 2D pixel coordinate in targetCamera coordinates or null if the point is not valid in that coordinate system.