%---------------------------Warpage-----------------------------
\section{Warpage}

Warpage is defined as
\[
q =
  1 - \min \left\{
    \left( \hat n_0 \cdot \hat n_2  \right)^3,
    \left( \hat n_1 \cdot \hat n_3  \right)^3
  \right\}
\]
which is the cosine of the minimum dihedral angle formed by
planes intersecting in diagonals (to the fourth power).

Note that if $\normvec{N_k} < DBL\_MIN$ for any $k$, we set $q = DBL\_MAX$.

\quadmetrictable{warpage}%
{$1$}%                                      Dimension
{$[0.3,1]$}%                                Acceptable range
{$[-1,1]$}%                                 Normal range
{$[-DBL_MAX,DBL\_MAX]$}%                    Full range
{$0$}%                                      Unit square
{--}%                                       Citation
{v\_quad\_warpage}%                         Verdict function name


