mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-25 17:00:34 +05:00
Improve error message
This commit is contained in:
parent
d13f9a5399
commit
38ab7c3864
@ -2431,7 +2431,14 @@ bool _ViscousBuilder::findFacesWithLayers(const bool onlyWith)
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
default:
|
default:
|
||||||
return error("Not yet supported case", _sdVec[i]._index);
|
std::ostringstream msg;
|
||||||
|
msg << "Not yet supported case: vertex bounded by ";
|
||||||
|
msg << facesWOL.size();
|
||||||
|
msg << " faces without layer at coordinates (";
|
||||||
|
TopoDS_Vertex v = TopoDS::Vertex(vertex);
|
||||||
|
gp_Pnt p = BRep_Tool::Pnt(v);
|
||||||
|
msg << p.X() << ", " << p.Y() << ", " << p.Z() << ")";
|
||||||
|
return error(msg.str().c_str(), _sdVec[i]._index);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user