DicomObjects.NET.8.48 Documentation
DicomObjects Namespace / DicomImage3D Class / RotateWorld Method
Angle to rotate by
Normalised axis of rotation in world orientation
Centre of rotation in world space






In This Topic
    RotateWorld Method
    In This Topic
    Rotate the view by an angle around a vector in world orientation
    Syntax
    'Declaration
     
    
    Public Sub RotateWorld( _
       ByVal Angle As System.Single, _
       ByVal Axis As System.Windows.Media.Media3D.Vector3D, _
       ByVal Centre As System.Windows.Media.Media3D.Vector3D _
    ) 
    'Usage
     
    
    Dim instance As DicomImage3D
    Dim Angle As System.Single
    Dim Axis As System.Windows.Media.Media3D.Vector3D
    Dim Centre As System.Windows.Media.Media3D.Vector3D
     
    instance.RotateWorld(Angle, Axis, Centre)
    public void RotateWorld( 
       System.float Angle,
       System.Windows.Media.Media3D.Vector3D Axis,
       System.Windows.Media.Media3D.Vector3D Centre
    )
    public procedure RotateWorld( 
        Angle: System.Single;
        Axis: System.Windows.Media.Media3D.Vector3D;
        Centre: System.Windows.Media.Media3D.Vector3D
    ); 
    public function RotateWorld( 
       Angle : System.float,
       Axis : System.Windows.Media.Media3D.Vector3D,
       Centre : System.Windows.Media.Media3D.Vector3D
    );
    public: void RotateWorld( 
       System.float Angle,
       System.Windows.Media.Media3D.Vector3D Axis,
       System.Windows.Media.Media3D.Vector3D Centre
    ) 
    public:
    void RotateWorld( 
       System.float Angle,
       System.Windows.Media.Media3D.Vector3D Axis,
       System.Windows.Media.Media3D.Vector3D Centre
    ) 

    Parameters

    Angle
    Angle to rotate by
    Axis
    Normalised axis of rotation in world orientation
    Centre
    Centre of rotation in world space
    Requirements

    Target Platforms: .NET CLR 4.8 or higher

    See Also