A Geometric Approach to Solving Problems of Control Constraints: Theory and a DAE Framework