Theory and Practice of Geometric Modeling