An Object-Oriented Framework ofr Curves and Surfaces