Direct Modification of Mesh Vertex Point in OpenCascade?

Dear all,

Can OpenCascade provide the triangles (mesh) of the model to the user?
And can i modify the mesh vertex point without breaking down the whole system?

Regards,
Mike

Paul Jimenez's picture

You can use BRep_Tool::Triangulation to retrieve the triangulation of a Face. You can also use BRep_Builder::UpdateFace to set the triangulation. Check the documentation of Poly_Triangulation to see what you can do with it.