+
+
+//********************************************************************
+void ModuleBase_ResultPrs::updateIsoLines()
+{
+ std::vector<int> aIsoValues;
+ bool isIsoVisible;
+ ModelAPI_Tools::getIsoLines(myResult, isIsoVisible, aIsoValues);
+ if (isIsoVisible) {
+ if (aIsoValues.size() == 0) {
+ aIsoValues.push_back(1);
+ aIsoValues.push_back(1);
+ }
+ }
+ else {
+ if (aIsoValues.size() == 0) {
+ aIsoValues.push_back(0);
+ aIsoValues.push_back(0);
+ }
+ else {
+ aIsoValues[0] = 0;
+ aIsoValues[1] = 0;
+ }
+ }
+ myUIsoAspect->SetNumber(aIsoValues[0]);
+ myVIsoAspect->SetNumber(aIsoValues[1]);
+}