示例#1
0
 static void Main(string[] args)
 {
     Point3D a = new Point3D(1, 2, 3);
     Point3D b = new Point3D(2, 3, 4);
     Console.WriteLine(Point3D.StartingPoint);
     Console.WriteLine(a);
     Console.WriteLine(b);
 }
示例#2
0
 public void addPoint(int x, int y, int z)
 {
     Point3D newPoint = new Point3D(x, y, z);
     this.path.Add(newPoint);
 }
示例#3
0
 static void Main(string[] args)
 {
     Point3D a = new Point3D(1, 2, 3);
     Point3D b = new Point3D(2, 3, 4);
     Console.WriteLine("Distance between\n" + a + "and\n" + b + "is: " + Calculate_Distance.Calc_Distance(a, b));
 }