I want to discretize some curves (not surfaces). I tried to use class BRepMesh_Discret, but it seems to work only with surfaces(TopoDS_Face). My current input is an IGES file with four curves, that are translated into TopoDS_Edge instances.
The reading is ok, the four curves are put in a compound shape, using IGESControl_Reader::OneShape ().
Here is what I've done :
BRepMesh_Discret discretizer (0.1, 0.1);
int points_count = discretizer.NbPoint3d ();
//points_count is always zero
What is wrong? Please can someone give here the OCC classes to discretize curves?
Thanks for your answers.