A meshing algorithm for continuous differentiable functions that represent surfaces is presented. This algorithm exploits the gaussian and mean curvatures defined on the surface to distribute triangles over it, keeping quality criteria defined in Delaunay triangulations. A right generalized cylinder (RGC) model is used as a test case.