mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2025-01-15 04:40:33 +05:00
fix elem size for "LengthFromEdges" + "QuadraticMesh"
This commit is contained in:
parent
eecb536915
commit
afca720dc4
@ -220,6 +220,9 @@ bool StdMeshers_MEFISTO_2D::Compute(SMESH_Mesh & aMesh, const TopoDS_Shape & aSh
|
|||||||
myTool = new StdMeshers_Helper(aMesh);
|
myTool = new StdMeshers_Helper(aMesh);
|
||||||
_quadraticMesh = myTool->IsQuadraticSubMesh(aShape);
|
_quadraticMesh = myTool->IsQuadraticSubMesh(aShape);
|
||||||
|
|
||||||
|
if ( _quadraticMesh && _hypLengthFromEdges )
|
||||||
|
_edgeLength *= 2.;
|
||||||
|
|
||||||
myOuterWire = BRepTools::OuterWire(F);
|
myOuterWire = BRepTools::OuterWire(F);
|
||||||
nbpnt += NumberOfPoints(aMesh, myOuterWire);
|
nbpnt += NumberOfPoints(aMesh, myOuterWire);
|
||||||
if ( nbpnt < 3 ) { // ex: a circle with 2 segments
|
if ( nbpnt < 3 ) { // ex: a circle with 2 segments
|
||||||
|
Loading…
Reference in New Issue
Block a user