How to use "ShapeFix_Wireframe::MergeSmallEdges()"???

Hello all,
I want to know how to use this function "ShapeFix_Wireframe::MergeSmallEdges()"

Could anybody tell me how to do it exactly.
Some sample code will be better.

Thank you in advance!

mihaizn's picture


Something that might help you: you can search for the SWDRAW_ShapeFix.cxx file and look there at the implementation of:
static Standard_Integer fixsmalledges(Draw_Interpretor& di, Standard_Integer n, const char** a)

You can also try that command to see how it works using the Draw Test Harness. The OpenCascade documentation contains a user manual for test harness.

Hope that it helps,