How to build a spherical mesh and a cylindrical mesh ?(C++)

I would like to build a spherical mesh and a cylindrical mesh.
How to do it is easy. :grin:

Hi Steven,

Mesh geometry has the methods CreateFromCylinder and CreateFromSphere
http://4.rhino3d.com/5/rhinocommon/?topic=html/M_Rhino_Geometry_Mesh_CreateFromCylinder.htm

http://4.rhino3d.com/5/rhinocommon/?topic=html/M_Rhino_Geometry_Mesh_CreateFromSphere.htm

HTH
-Willem

In C++, use RhinoMeshSphere and RhinoMeshCylinder. See rhinoSdkMeshObject.h for details.

Thanks you.
It is useful when I use C#.

I got it. Thank you for help. :smile: