Пример #1
0
 public Vector3D(Vector3D a)
 {
     this.x = a.x; this.y = a.y; this.z = a.z;
 }
Пример #2
0
 public double Magnitude(Vector3D a)
 {
     double x, y, z;
     x = a.x; y = a.y; z = a.z;
     return Math.Sqrt(x * x + y * y + z * z);
 }
Пример #3
0
 static void Main(string[] args)
 {
     Vector3D a = new Vector3D(1, 3, 8);
     Vector3D b = new Vector3D();
     Console.WriteLine("1"+"2"+"3");
 }