X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROCurveCreator%2FCurveCreator_Operation.cxx;h=ce73d1ccfe4abe52c9b046c0952a2aa2da5c8a15;hb=cab84b2968166d7b7b8673765307403b1f571a5b;hp=e24e2dcaa5290c8b313a2f3a3a33501845142d7a;hpb=254aba54a085eac64aa4ec13f1d46beac722a252;p=modules%2Fhydro.git diff --git a/src/HYDROCurveCreator/CurveCreator_Operation.cxx b/src/HYDROCurveCreator/CurveCreator_Operation.cxx index e24e2dca..ce73d1cc 100644 --- a/src/HYDROCurveCreator/CurveCreator_Operation.cxx +++ b/src/HYDROCurveCreator/CurveCreator_Operation.cxx @@ -304,31 +304,31 @@ void CurveCreator_Operation::apply(CurveCreator_Curve *theCurve) { const CurveCreator::SectionType aType = (CurveCreator::SectionType) pInt[0]; - theCurve->setSectionType( pInt[1], aType ); + theCurve->setSectionTypeInternal( pInt[1], aType ); } break; case CurveCreator_Operation::Clear: - theCurve->clear(); + theCurve->clearInternal(); break; case CurveCreator_Operation::SetCoordinates: { CurveCreator::Coordinates aCoords; getCoords(&pInt[2], aCoords); - theCurve->setPoint(pInt[0], pInt[1], aCoords); + theCurve->setPointInternal(pInt[0], pInt[1], aCoords); } break; case CurveCreator_Operation::SetClosed: - theCurve->setClosed((pInt[0] != 0), pInt[1]); + theCurve->setClosedInternal((pInt[0] != 0), pInt[1]); + break; + case CurveCreator_Operation::MoveSection: + theCurve->moveSectionInternal(pInt[0], pInt[1]); break; -/* case CurveCreator_Operation::MoveSection: - theCurve->moveSection(pInt[0], pInt[1]); - break;*/ case CurveCreator_Operation::Join: if (myPData == NULL) { - theCurve->join(); + theCurve->joinInternal(); } else { - theCurve->join(pInt[0], pInt[1]); + theCurve->joinInternal(pInt[0], pInt[1]); } break; case CurveCreator_Operation::AddSection: @@ -351,7 +351,7 @@ void CurveCreator_Operation::apply(CurveCreator_Curve *theCurve) case CurveCreator_Operation::RenameSection: { std::string aName = std::string((char*)&pInt[1]); - theCurve->setSectionName(pInt[0], aName); + theCurve->setSectionNameInternal(pInt[0], aName); } break; default: