A C++ library for representing curves or surfaces