In a video lecture (MIT 6.034 Artificial Intelligence, Fall 2010 lecture 16)
It was mentioned that the dot product here is taking the projection of $\vec u$ onto $\vec w$ and it should be greater than some constant. $\vec w$ is the normal to the decision boundary
$\vec w.\vec u>c$
and to generalize it if $\vec w.\vec u+b>0$ positive sample negative otherwise
but as far as I remember length of the projection is
$\frac{|\vec w.\vec u|}{|\vec w|}$
but here a different equation is used