Exemplo n.º 1
0
 public Point3D Subtract(Point3D p2)
 {
     return new Point3D(x - p2.x, y - p2.y, z - p2.z);
 }
Exemplo n.º 2
0
 public Point3D(Point3D other)
     : this(other.x, other.y,other.z)
 {
 }
Exemplo n.º 3
0
 public Point3D Add(Point3D p2)
 {
     return new Point3D(x + p2.x, y + p2.y, z + p2.z);
 }