Let $H_1$, $H_2$ be two hyperplanes of $\Bbb{R}^n$. Their normal vectors and bias terms are, respectively, given by $\mathbf{w}_1$, $\mathbf{w}_2$, $b_1$, and $b_2$. That is, they are given as $$H_1: \mathbf{w}_1^\top\mathbf{x}+b_1=0 $$ and $$ H_2: \mathbf{w}_2^\top\mathbf{x}+b_2=0. $$ I am looking for a way of "comparing" the above hyperplanes. More specifically, I need to quantify their similarity using some function of their parameters ($\mathbf{w}_i$, $b_i$, $i=1,2$). For instance, a desired function $q(\mathbf{w}_1,\mathbf{w}_2,b_1,b_2)$ would be zero when $H_1$ and $H_2$ coincide.
One such quantity could be the Euclidean norm of the difference between $\mathbf{w}_1$ and $\mathbf{w}_2$, i.e., $q=\lVert\mathbf{w}_1-\mathbf{w}_2\rVert$, but obviously this is not a good choice, since every pair of parallel hyperplanes would lead to $q=0$ (which would mean "absolutely similar").
I am absolutely unaware of such issues; is there any way of quantifying such similarity?