mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-02-05 16:24:18 +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)
|
if (!idFirst || !idLast)
|
||||||
return error( COMPERR_BAD_INPUT_MESH, "No node on vertex");
|
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())
|
if (!Curve.IsNull())
|
||||||
{
|
{
|
||||||
list< double > params;
|
list< double > params;
|
||||||
@ -988,7 +991,6 @@ bool StdMeshers_Regular_1D::Compute(SMESH_Mesh & theMesh, const TopoDS_Shape & t
|
|||||||
parLast = f;
|
parLast = f;
|
||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
for (list<double>::iterator itU = params.begin(); itU != params.end(); itU++) {
|
for (list<double>::iterator itU = params.begin(); itU != params.end(); itU++) {
|
||||||
double param = *itU;
|
double param = *itU;
|
||||||
gp_Pnt P = Curve->Value(param);
|
gp_Pnt P = Curve->Value(param);
|
||||||
|
Loading…
Reference in New Issue
Block a user