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); }
public void addPoint(int x, int y, int z) { Point3D newPoint = new Point3D(x, y, z); this.path.Add(newPoint); }
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)); }