How to control the number of discrete segments of a cylinder

There have two images in the attachments. And I want to know whether BRepMesh_IncrementalMesh has relevant parameters to control cylinder discretization. I want to get the effect of image2, because the triangular face in image 1 is too narrow and long.
If OCCT don't have this parameter to control the discretization, please let me know thank you!!!!!

Attachments: 
gkv311 n's picture

If OCCT don't have this parameter to control the discretization

BRepMesh_IncrementalMesh has no such functionality as it has different purpose. You'll need to apply some algorithm to refine mesh produced by OCCT, or to use another meshing tool (EMesh or third-party).