In a rational Bezier curve, the weighted control points are given as $$\mathbf{P}^w=(wx, wy, wz, w)=(X,Y,Z,W).$$ We can extract the control point $\mathbf{P}$ from $\mathbf{P}^w$ by dividing each of the coordinates in $\mathbf{P}^w$ by the last coordinate $w$. That is, $$\mathbf{P} = (X/W,Y/W,Z/W)=(wx/w,wy/w,wz/w)=(x,y,z).$$
But how do we get $\mathbf{P}$ if $w$ is equal to zero? The NURBS Book says that $\mathbf{P}=\text{direction}(X,Y,Z)$ in this case without explaining what $\text{direction}(X,Y,Z)$ means. Can somebody explain it to me, please?