Discretize a shape

Hi,

I have to discretize a shape (a curve here). I looked in OCC doc, and just find BRepMesh::Discret static method. I can't understand how I get the result from it, there is no return type. In the class browser doc, I saw class BRepMesh_Discret but I don't understand how to use it, there is no comments in the source code.
Can someone explain here how to discretize shapes with these tools?

Thanks a lot.

Jérome Dufaure's picture

hello

You can have a look in the BRepMesh_Discret.cdl file.
The output methods are described.
Good luck
Jérome