</algorithms>
</meshers-group>
-
-<hypotheses-set-group>
-
- <hypotheses-set name ="Automatic Tetrahedralization"
- hypos="NETGEN_Parameters"
- algos="NETGEN_2D3D"/>
-
- <hypotheses-set name ="Automatic Triangulation"
- hypos="NETGEN_Parameters_2D"
- algos="NETGEN_2D"/>
-
-</hypotheses-set-group>
-
</meshers>
else if ( theMesh && theMesh->HasShapeToMesh() )
_minSize = NETGENPlugin_Mesher::GetDefaultMinSize( theMesh->GetShapeToMesh(), _maxSize );
+ if ( dflts._way == SMESH_Hypothesis::BY_AVERAGE_LENGTH )
+ {
+ _minSize = dflts._elemLength / 100.;
+ _chordalError = dflts._elemLength / 2.;
+ _chordalErrorEnabled = true;
+ _quadAllowed = dflts._quadDominated;
+ }
+
return _nbSegPerEdge && _maxSize > 0;
}