// Displays the values of the variables public void ShowVars() { Point4D p1 = new Point4D(10, 5, 1, 4); Point4D p2 = new Point4D(15, 40, 60, 75); Matrix3D m1 = new Matrix3D(10,10,10,0,20,20,20,0,30,30,30,0,5,10,15,1); // Displaying values in Text objects txtPoint1.Text = p1.ToString(); txtPoint2.Text = p2.ToString(); txtMatrix1.Text = m1.ToString(); }
// Displays the values of the variables public void ShowVars() { Point3D p1 = new Point3D(10, 5, 1); Point3D p2 = new Point3D(15, 40, 60); Vector3D v1 = new Vector3D(20, 30, 40); Vector3D v2 = new Vector3D(45, 70, 80); Matrix3D m1 = new Matrix3D(10,10,10,0,20,20,20,0,30,30,30,0,5,10,15,1); // Displaying values in Text objects txtPoint1.Text = p1.ToString(); txtPoint2.Text = p2.ToString(); txtVector1.Text = v1.ToString(); txtVector2.Text = v2.ToString(); txtMatrix1.Text = m1.ToString(); }