export TOOLS_DIR=$(pwd)
export HOME_OLD=$HOME
-source /dn46/SALOME/series8x/current-2018-05-03/start.sh
+source /dn46/SALOME/series8x/current-2018-05-30/start.sh
export HOME=$HOME_OLD
# Path to solvespace-2
// check myMaxDegree >= aCurves.size() - 1 to be able to interpolate a surface
if (myMaxDegree + 1 < aNbCurves) {
- myError = "Unable to interpolate surface, Max deg + 1 should be greater or equal than number of sections.";
+ myError = "Unable to interpolate surface,"
+ " Max deg + 1 should be greater or equal than number of sections.";
return;
}
int aFullIndex = 0;
NbFeaturesMap::const_iterator aFIt = myFeatureCount.begin();
for (; aFIt != myFeatureCount.end(); ++aFIt) {
- std::map<std::string, std::pair<int, int> >::const_iterator aFound = aFIt->second.find(aKind);
+ std::map<std::string, std::pair<int, int> >::const_iterator aFound =
+ aFIt->second.find(aKind);
if (aFound != aFIt->second.end())
aFullIndex += aFound->second.first;
}
#include <string>
#include <iostream>
+#include <cfloat>
//#define DEBUG_COMPLETE_WITH_PARAMETERS
setWidth(aDrawer, aWidth);
}
}
- StdPrs_WFShape::Add(thePresentation, aShape, aDrawer);
+ try {
+ StdPrs_WFShape::Add(thePresentation, aShape, aDrawer);
+ }
+ catch (...) {
+ return;
+ }
}
Set(aComp);
if (!aReadyToDisplay) {