Delen via


DepthCorrelatedCoordinateMapper.UnprojectPoint Method

Definition

Unprojects a 2D point from a MediaFrameSource to a point in 3D space, using depth information from the DepthMediaFrame from which the coordinate mapper was created with a call to TryCreateCoordinateMapper.

public:
 virtual float3 UnprojectPoint(Point sourcePoint, SpatialCoordinateSystem ^ targetCoordinateSystem) = UnprojectPoint;
float3 UnprojectPoint(Point const& sourcePoint, SpatialCoordinateSystem const& targetCoordinateSystem);
public Vector3 UnprojectPoint(Point sourcePoint, SpatialCoordinateSystem targetCoordinateSystem);
function unprojectPoint(sourcePoint, targetCoordinateSystem)
Public Function UnprojectPoint (sourcePoint As Point, targetCoordinateSystem As SpatialCoordinateSystem) As Vector3

Parameters

sourcePoint
Point

The 2D source point within the MediaFrameSource to map.

targetCoordinateSystem
SpatialCoordinateSystem

The coordinate system to which the point is unprojected.

Returns

Vector3 Vector3

float3

An point in 3D space.

Applies to