mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-03-03 02:55:36 +05:00
Fix of 20128 issue (EDF SMESH 926 : Quadratic conversion of BLSURF mesh).
This commit is contained in:
parent
e7e45ad8cb
commit
cae18bdc37
@ -469,6 +469,11 @@ const SMDS_MeshNode* SMESH_MesherHelper::GetMediumNode(const SMDS_MeshNode* n1,
|
|||||||
gp_XY p1 = GetNodeUV(F,n1,n2);
|
gp_XY p1 = GetNodeUV(F,n1,n2);
|
||||||
gp_XY p2 = GetNodeUV(F,n2,n1);
|
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
|
//checking if surface is periodic
|
||||||
Handle(Geom_Surface) S = BRep_Tool::Surface(F);
|
Handle(Geom_Surface) S = BRep_Tool::Surface(F);
|
||||||
Standard_Real UF,UL,VF,VL;
|
Standard_Real UF,UL,VF,VL;
|
||||||
|
Loading…
Reference in New Issue
Block a user