while ( fID < faceNgID ) // geomFace is already in occgeom.fmap, add a copy
fID = occgeom.fmap.Add( BRepBuilderAPI_Copy( geomFace, /*copyGeom=*/false ));
// Problem with the second order in a quadrangular mesh remains.
- // 1) All quadrangles geberated by NETGEN are moved to an inexistent face
- // by FillSMesh() (find AddFaceDescriptor)
+ // 1) All quadrangles generated by NETGEN are moved to an inexistent face
+ // by FillSMesh() (find "AddFaceDescriptor")
// 2) Temporary triangles generated by StdMeshers_QuadToTriaAdaptor
// are on faces where quadrangles were.
// Due to these 2 points, wrong geom faces are used while conversion to qudratic
else
aStatus = HYP_OK;
+ if ( aStatus == HYP_OK && _hypParameters && _hypQuadranglePreference )
+ {
+ aStatus = HYP_INCOMPAT_HYPS;
+ return error(SMESH_Comment("\"") << _hypQuadranglePreference->GetName()
+ << "\" and \"" << _hypParameters->GetName()
+ << "\" are incompatible hypotheses");
+ }
+
return ( aStatus == HYP_OK );
}