FOR INTERNAL USE ONLY. Convert a 2D point into a 3D point

Namespace: Ico.Windows.Media.Media3D
Assembly: Ico3DControlsLibrary (in Ico3DControlsLibrary.dll) Version: 10.97.212.0 (10.97.212.00)

Syntax

C#
public static Point3D Canvas2DToViewport3D(
	Viewport3D viewport,
	Point point,
	double zDepth
)
Visual Basic
Public Shared Function Canvas2DToViewport3D ( _
	viewport As Viewport3D, _
	point As Point, _
	zDepth As Double _
) As Point3D
JScript
public static function Canvas2DToViewport3D(
	viewport : Viewport3D, 
	point : Point, 
	zDepth : double
) : Point3D

Parameters

viewport
Type: System.Windows.Controls..::..Viewport3D
the reference viewport
point
Type: System.Windows..::..Point
the 2D point
zDepth
Type: System..::..Double
the zDepth for the 3D point

Return Value

returns a 3D point equivalent to the 2D point at a certain depth

See Also