From: eap Date: Tue, 18 Apr 2006 12:52:10 +0000 (+0000) Subject: fix elem size for "LengthFromEdges" + "QuadraticMesh" X-Git-Tag: T3_2_0b1_pre1~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=afca720dc40244f34bfa745964bd95becdb97282;p=modules%2Fsmesh.git fix elem size for "LengthFromEdges" + "QuadraticMesh" --- diff --git a/src/StdMeshers/StdMeshers_MEFISTO_2D.cxx b/src/StdMeshers/StdMeshers_MEFISTO_2D.cxx index d63d2e6f2..87b8e797e 100644 --- a/src/StdMeshers/StdMeshers_MEFISTO_2D.cxx +++ b/src/StdMeshers/StdMeshers_MEFISTO_2D.cxx @@ -220,6 +220,9 @@ bool StdMeshers_MEFISTO_2D::Compute(SMESH_Mesh & aMesh, const TopoDS_Shape & aSh myTool = new StdMeshers_Helper(aMesh); _quadraticMesh = myTool->IsQuadraticSubMesh(aShape); + if ( _quadraticMesh && _hypLengthFromEdges ) + _edgeLength *= 2.; + myOuterWire = BRepTools::OuterWire(F); nbpnt += NumberOfPoints(aMesh, myOuterWire); if ( nbpnt < 3 ) { // ex: a circle with 2 segments