Matrix3D RotateAt //File:Window.xaml.cs using System; using System.Windows; using System.Windows.Media; using System.Windows.Media.Media3D; namespace WpfApplication1 { public partial class Matrix3DTransforms : Window { public Matrix3DTransforms() { InitializeComponent(); Matrix3D M = new Matrix3D(1, 4, 2, 4, 4, 1, 0, 1, 0, 0, 1, 0, 1, 3, 3, 1); tbOriginal.Text = "(" + M.ToString() + ")"; //Translation: M.RotateAt(new Quaternion(new Vector3D(1, 2, 3), 45),new Point3D(15, 25, 40)); tbResult.Text = "(" + M.ToString() + ")"; } } }