Tabulated mesh

When I create a tabulated or ruled mesh, the result does not follow the lines.

Makes something similar as the contour, but the resolution is really low.

Are there any option to increase the vertex density, or I need to create a polymesh vertex by vertex to reach the necessary resolution?