PR: dump function must write GEOM.xxx instead of geompy.GEOM.xxx

This commit is contained in:
prascle 2013-04-11 08:43:00 +00:00
parent 0370a2b150
commit a05e9c326e
3 changed files with 11 additions and 11 deletions

View File

@ -1101,7 +1101,7 @@ Handle(GEOM_Object) GEOMImpl_ICurvesOperations::MakeCurveParametric
aCI.SetConstructorType(COORD_CONSTRUCTOR);
aCI.SetIsClosed(false);
aCI.SetCoordinates(aCoordsArray);
aCurveType = "geompy.GEOM.Polyline";
aCurveType = "GEOM.Polyline";
break;
}
case Bezier: {
@ -1120,7 +1120,7 @@ Handle(GEOM_Object) GEOMImpl_ICurvesOperations::MakeCurveParametric
aCI.SetConstructorType(COORD_CONSTRUCTOR);
aCI.SetIsClosed(false);
aCI.SetCoordinates(aCoordsArray);
aCurveType = "geompy.GEOM.Bezier";
aCurveType = "GEOM.Bezier";
break;
}
case Interpolation: {
@ -1139,7 +1139,7 @@ Handle(GEOM_Object) GEOMImpl_ICurvesOperations::MakeCurveParametric
aCI.SetIsClosed(false);
aCI.SetDoReordering(false);
aCI.SetCoordinates(aCoordsArray);
aCurveType = "geompy.GEOM.Interpolation";
aCurveType = "GEOM.Interpolation";
break;
}
}

View File

@ -2140,22 +2140,22 @@ static GEOM::TPythonDump& operator<< (GEOM::TPythonDump& theDump,
{
switch (theState) {
case GEOMAlgo_ST_IN:
theDump << "geompy.GEOM.ST_IN";
theDump << "GEOM.ST_IN";
break;
case GEOMAlgo_ST_OUT:
theDump << "geompy.GEOM.ST_OUT";
theDump << "GEOM.ST_OUT";
break;
case GEOMAlgo_ST_ON:
theDump << "geompy.GEOM.ST_ON";
theDump << "GEOM.ST_ON";
break;
case GEOMAlgo_ST_ONIN:
theDump << "geompy.GEOM.ST_ONIN";
theDump << "GEOM.ST_ONIN";
break;
case GEOMAlgo_ST_ONOUT:
theDump << "geompy.GEOM.ST_ONOUT";
theDump << "GEOM.ST_ONOUT";
break;
default:
theDump << "geompy.GEOM.ST_UNKNOWN";
theDump << "GEOM.ST_UNKNOWN";
break;
}
return theDump;

View File

@ -1236,7 +1236,7 @@ GEOM::ListOfGO* GEOM_Gen_i::RestoreSubShapes(SALOMEDS::Study_ptr theStudy,
pd << aGeomObj;
j++;
}
pd <<"]" << ", " <<"geompy.GEOM.";
pd <<"]" << ", " <<"GEOM.";
switch (theFindMethod) {
case GEOM::FSM_GetInPlace:
pd << "FSM_GetInPlace"; break;
@ -1780,7 +1780,7 @@ GEOM::ListOfGO* GEOM_Gen_i::RestoreGivenSubShapes(SALOMEDS::Study_ptr theStu
pd << aGeomObj;
j++;
}
pd <<"]" << ", " <<"geompy.GEOM.";
pd <<"]" << ", " <<"GEOM.";
switch (theFindMethod) {
case GEOM::FSM_GetInPlace:
pd << "FSM_GetInPlace"; break;