mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-11-12 00:29:18 +05:00
PR: dump function must write GEOM.xxx instead of geompy.GEOM.xxx
This commit is contained in:
parent
0370a2b150
commit
a05e9c326e
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user