A Paradigm for the Robust Design of Algorithms for Geometric Modeling