Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d10c902
)
Fix of 20128 issue (EDF SMESH 926 : Quadratic conversion of BLSURF mesh).
author
akl
<akl@opencascade.com>
Thu, 22 Jan 2009 15:05:12 +0000
(15:05 +0000)
committer
akl
<akl@opencascade.com>
Thu, 22 Jan 2009 15:05:12 +0000
(15:05 +0000)
src/SMESH/SMESH_MesherHelper.cxx
patch
|
blob
|
history
diff --git
a/src/SMESH/SMESH_MesherHelper.cxx
b/src/SMESH/SMESH_MesherHelper.cxx
index 5fc6c55cc18e7cd74f10161e6d7595b5e71513cf..292c29ecb7fc8964985f66f29ef4b03eaae0c53c 100644
(file)
--- a/
src/SMESH/SMESH_MesherHelper.cxx
+++ b/
src/SMESH/SMESH_MesherHelper.cxx
@@
-469,6
+469,11
@@
const SMDS_MeshNode* SMESH_MesherHelper::GetMediumNode(const SMDS_MeshNode* n1,
gp_XY p1 = GetNodeUV(F,n1,n2);
gp_XY p2 = GetNodeUV(F,n2,n1);
+ if ( IsDegenShape( Pos1->GetShapeId() ))
+ p1.SetCoord( myParIndex, p2.Coord( myParIndex ));
+ else if ( IsDegenShape( Pos2->GetShapeId() ))
+ p2.SetCoord( myParIndex, p1.Coord( myParIndex ));
+
//checking if surface is periodic
Handle(Geom_Surface) S = BRep_Tool::Surface(F);
Standard_Real UF,UL,VF,VL;