How to display curve,surface?

I use opennurbs with c++ platform, i can read 3dm file format. How to display curve and surface on screen? Please give me example project?

opennurbs is only a toolkit to read/write the 3dm format. When you read a 3dm file using opennurbs, the geometry in the file is read into memory as objects (curves, surfaces, BReps, layer information, etc.). If you are not working with the Rhino program, you will have to code the display of these objects yourself, or use another framework for this.

What I’m saying is, opennurbs has no code to display the geometry.

Thanks for reply. I have a one question, what is framework rhino using for display graphic ?

OpenGL for the 3D graphics and MFC for the GUI, as far as I know.