From 2666c0130cdf0620ebfd1432dddd1cf92036d856 Mon Sep 17 00:00:00 2001 From: Yoann Audouin Date: Thu, 22 Jul 2021 16:19:06 +0200 Subject: [PATCH] Corrections after bos #24400 on smesh --- src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx index 6e30bca..6bd3f2d 100644 --- a/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx +++ b/src/BLSURFPlugin/BLSURFPlugin_BLSURF.cxx @@ -576,7 +576,7 @@ void _createEnforcedVertexOnFace(TopoDS_Face faceShape, gp_Pnt aPnt, BLSURFPlugi } } } - + ///////////////////////////////////////////////////////// void BLSURFPlugin_BLSURF::createEnforcedVertexOnFace(TopoDS_Shape faceShape, BLSURFPlugin_Hypothesis::TEnfVertexList enfVertexList) { @@ -1011,7 +1011,7 @@ void BLSURFPlugin_BLSURF::SetParameters(const BLSURFPlugin_Hypothesis* hyp, //set_param(css, "process_3d_topology", _precadProcess3DTopology ? "1" : "0"); //set_param(css, "discard_input_topology", _precadDiscardInput ? "1" : "0"); //set_param(css, "max_number_of_points_per_patch", "1000000"); - + bool useGradation = false; switch (_physicalMesh) { @@ -1485,7 +1485,7 @@ namespace // distene_sizemap_delete(iso_sizemap_e); // if(iso_sizemap_f) // distene_sizemap_delete(iso_sizemap_f); - // + // // // if(clean_geo_sizemap_e) // // distene_sizemap_delete(clean_geo_sizemap_e); // // if(clean_geo_sizemap_f) @@ -1619,7 +1619,7 @@ namespace TmpMesh() { - _myMeshDS = new SMESHDS_Mesh( _id, true ); + _meshDS = new SMESHDS_Mesh( _id, true ); } //-------------------------------------------------------------------------------- /*! @@ -2501,11 +2501,11 @@ bool BLSURFPlugin_BLSURF::compute(SMESH_Mesh& aMesh, // set_param(css, "global_physical_size", val_to_string( minFaceSize * 0.5 ).c_str()); // set_param(css, "max_size", val_to_string( minFaceSize * 5 ).c_str()); } - + // TODO: be able to use a mesh in input. // See imsh usage in Products/templates/mg-cadsurf_template_common.cpp // => cadsurf_set_mesh - + // Use the original dcad cadsurf_set_dcad(css, dcad); @@ -2700,10 +2700,10 @@ bool BLSURFPlugin_BLSURF::compute(SMESH_Mesh& aMesh, // If PreCAD performed some cleaning operations (remove tiny edges, // merge edges ...) an output tag can indeed represent several original tags. - // Get the initial tags corresponding to the output tag and redefine the tag as + // Get the initial tags corresponding to the output tag and redefine the tag as // the last of the two initial tags (else the output tag is out of emap and hasn't any meaning) mesh_get_composite_tag_definition(msh, tag, &nb_tag, tags_buff); - if(nb_tag > 1) + if(nb_tag > 1) tag=tags_buff[nb_tag-1]; if ( tag < 1 || tag > emap.Extent() ) { -- 2.39.2