mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-27 13:40:32 +05:00
+ // remove elements created by e.g. patern mapping (PAL21999)
+ theMesh.GetSubMesh(theShape)->ComputeStateEngine( SMESH_subMesh::CLEAN );
This commit is contained in:
parent
bec23f9e68
commit
ca1d1004c3
@ -947,6 +947,9 @@ bool StdMeshers_Regular_1D::Compute(SMESH_Mesh & theMesh, const TopoDS_Shape & t
|
||||
if (!idFirst || !idLast)
|
||||
return error( COMPERR_BAD_INPUT_MESH, "No node on vertex");
|
||||
|
||||
// remove elements created by e.g. patern mapping (PAL21999)
|
||||
theMesh.GetSubMesh(theShape)->ComputeStateEngine( SMESH_subMesh::CLEAN );
|
||||
|
||||
if (!Curve.IsNull())
|
||||
{
|
||||
list< double > params;
|
||||
@ -988,7 +991,6 @@ bool StdMeshers_Regular_1D::Compute(SMESH_Mesh & theMesh, const TopoDS_Shape & t
|
||||
parLast = f;
|
||||
}
|
||||
*/
|
||||
|
||||
for (list<double>::iterator itU = params.begin(); itU != params.end(); itU++) {
|
||||
double param = *itU;
|
||||
gp_Pnt P = Curve->Value(param);
|
||||
|
Loading…
Reference in New Issue
Block a user