VerticesWithSizeMap.Clear();
VertexId2SizeMap.clear();
- SMESH_MesherHelper helper( aMesh );
- // do not call helper.IsQuadraticSubMesh() because submeshes
- // may be cleaned and helper.myTLinkNodeMap gets invalid in such a case
- const bool haveQudraticSubMesh = SMESH_MesherHelper( aMesh ).IsQuadraticSubMesh( aShape );
- helper.SetIsQuadratic( haveQudraticSubMesh );
- bool needMerge = false;
- set< SMESH_subMesh* > edgeSubmeshes;
- set< SMESH_subMesh* >& mergeSubmeshes = edgeSubmeshes;
-
/* Now fill the CAD object with data from your CAD
* environement. This is the most complex part of a successfull
* integration.
helper.SetIsQuadratic( haveQuadraticSubMesh || (_hypothesis != NULL && _hypothesis->GetQuadraticMesh()) );
bool needMerge = false;
set< SMESH_subMesh* > edgeSubmeshes;
+ set< SMESH_subMesh* >& mergeSubmeshes = edgeSubmeshes;
// needed to prevent the opencascade memory managmement from freeing things
vector<Handle(Geom2d_Curve)> curves;