Additional fix for locale
}
}
+class Localizer
+{
+public:
+ Localizer()
+ {
+ myCurLocale = setlocale(LC_NUMERIC, 0);
+ setlocale(LC_NUMERIC, "C");
+ }
+ ~Localizer()
+ {
+ setlocale(LC_NUMERIC, myCurLocale.c_str());
+ }
+private:
+ std::string myCurLocale;
+};
+
//=============================================================================
/*!
*
map <int,const SMDS_MeshNode*>& theGhs3dIdToNodeMap,
bool toMeshHoles)
{
+ Localizer loc;
struct stat status;
size_t length;
TopoDS_Shape aSolid,
vector <const SMDS_MeshNode*>& theNodeByGhs3dId) {
+ Localizer loc;
struct stat status;
size_t length;