Fundamental Techniques for Geometric and Solid Modeling