WorldToScreen(Point3D,DicomViewer) Method
Calculate where in real world (X,Y,Z) space, a given screen point lies
public System.Drawing.PointF WorldToScreen(
System.Windows.Media.Media3D.Point3D ,
DicomViewer
)
public function WorldToScreen(
: System.Windows.Media.Media3D.Point3D;
: DicomViewer
): System.Drawing.PointF;
public function WorldToScreen(
: System.Windows.Media.Media3D.Point3D,
: DicomViewer
) : System.Drawing.PointF;
public: System.Drawing.PointF WorldToScreen(
System.Windows.Media.Media3D.Point3D ,
DicomViewer*
)
public:
System.Drawing.PointF WorldToScreen(
System.Windows.Media.Media3D.Point3D ,
DicomViewer^
)
'Declaration
Public Function WorldToScreen( _
ByVal As System.Windows.Media.Media3D.Point3D, _
ByVal As DicomViewer _
) As System.Drawing.PointF
'Usage
Dim instance As DicomImage
Dim WorldLocation As System.Windows.Media.Media3D.Point3D
Dim Viewer As DicomViewer
Dim value As System.Drawing.PointF
value = instance.WorldToScreen(WorldLocation, Viewer)
Parameters
- WorldLocation
- The point on the output space
- Viewer
- The Viewer being used to display the image
Return Value
POint in 3D space if appropriate, or null, if the necessary coordinate
information is not available
Target Platforms: .NET CLR 4.8 or higher