Complementarity methods in the analysis of piecewise linear dynamical systems door