'Declaration
Public Function WorldToImage( _ ByVal WorldLocation As System.Windows.Media.Media3D.Point3D, _ ByVal Viewer As DicomViewer, _ ByVal Frame As System.Integer _ ) As System.Drawing.PointF
'Usage
Dim instance As DicomImage Dim WorldLocation As System.Windows.Media.Media3D.Point3D Dim Viewer As DicomViewer Dim Frame As System.Integer Dim value As System.Drawing.PointF value = instance.WorldToImage(WorldLocation, Viewer, Frame)
public System.Drawing.PointF WorldToImage( System.Windows.Media.Media3D.Point3D WorldLocation, DicomViewer Viewer, System.int Frame )
public function WorldToImage( WorldLocation: System.Windows.Media.Media3D.Point3D; Viewer: DicomViewer; Frame: System.Integer ): System.Drawing.PointF;
public function WorldToImage( WorldLocation : System.Windows.Media.Media3D.Point3D, Viewer : DicomViewer, Frame : System.int ) : System.Drawing.PointF;
public: System.Drawing.PointF WorldToImage( System.Windows.Media.Media3D.Point3D WorldLocation, DicomViewer* Viewer, System.int Frame )
public: System.Drawing.PointF WorldToImage( System.Windows.Media.Media3D.Point3D WorldLocation, DicomViewer^ Viewer, System.int Frame )
Parameters
- WorldLocation
- The point in real world coordinates
- Viewer
- The Viewer being used for display
- Frame
- The frame to apply this calculation to
Return Value
Image coordinates of the closest point of the image plane