From afca720dc40244f34bfa745964bd95becdb97282 Mon Sep 17 00:00:00 2001 From: eap Date: Tue, 18 Apr 2006 12:52:10 +0000 Subject: [PATCH] fix elem size for "LengthFromEdges" + "QuadraticMesh" --- src/StdMeshers/StdMeshers_MEFISTO_2D.cxx | 3 +++ 1 file changed, 3 insertions(+) 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 -- 2.39.2