The equation of straight line passing through the point (a,b,c) and parallel to z-axis is
x−a1=y−b1=z−c3
x−a0=y−b1=z−c1
x−a1=y−b0=z−c0
x−a0=y−b0=z−c1
The equation of straight line passing through the point (a,b,c) and parallel to z-axis is x−a0=y−b0=z−c1
since z-axis d.r's are 0,0,1