Salome HOME
projects
/
modules
/
smesh.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
bos #29540 25009 - mesh fails
[modules/smesh.git]
/
src
/
StdMeshers
/
StdMeshers_Import_1D2D.cxx
diff --git
a/src/StdMeshers/StdMeshers_Import_1D2D.cxx
b/src/StdMeshers/StdMeshers_Import_1D2D.cxx
index 890084da3177dcf75490ead4eb4aa65e9ffabfdf..dfecb36f3b639f9c58bf5b5a94aba28a251736b2 100644
(file)
--- a/
src/StdMeshers/StdMeshers_Import_1D2D.cxx
+++ b/
src/StdMeshers/StdMeshers_Import_1D2D.cxx
@@
-384,7
+384,7
@@
bool StdMeshers_Import_1D2D::Compute(SMESH_Mesh & theMesh, const TopoDS_Shape &
isOut = ( nodeState[i] == TopAbs_OUT );
if (( isOut ) &&
( !isOutBox || helper.IsOnSeam( uv )) &&
isOut = ( nodeState[i] == TopAbs_OUT );
if (( isOut ) &&
( !isOutBox || helper.IsOnSeam( uv )) &&
- onEdgeClassifier.IsSatisfy( node
->GetID()
))
+ onEdgeClassifier.IsSatisfy( node ))
{
// uv.SetCoord( iCoo, helper.GetOtherParam( uv.Coord( iCoo )));
// classifier.Perform( geomFace, uv, clsfTol );
{
// uv.SetCoord( iCoo, helper.GetOtherParam( uv.Coord( iCoo )));
// classifier.Perform( geomFace, uv, clsfTol );
@@
-586,7
+586,9
@@
bool StdMeshers_Import_1D2D::Compute(SMESH_Mesh & theMesh, const TopoDS_Shape &
if ( onEdgeClassifier.IsSatisfy( n, &edge ))
{
tgtFaceSM->RemoveNode( n );
if ( onEdgeClassifier.IsSatisfy( n, &edge ))
{
tgtFaceSM->RemoveNode( n );
- tgtMesh->SetNodeOnEdge( n, TopoDS::Edge(edge), /*u=*/0 );
+ double u, v;
+ onEdgeClassifier.GetParams( u, v );
+ tgtMesh->SetNodeOnEdge( n, TopoDS::Edge(edge), u );
}
nodesOnBoundary = subShapeIDs.count( n->getshapeId());
}
}
nodesOnBoundary = subShapeIDs.count( n->getshapeId());
}