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.SetConstructorType(COORD_CONSTRUCTOR);
|
||||||
aCI.SetIsClosed(false);
|
aCI.SetIsClosed(false);
|
||||||
aCI.SetCoordinates(aCoordsArray);
|
aCI.SetCoordinates(aCoordsArray);
|
||||||
aCurveType = "geompy.GEOM.Polyline";
|
aCurveType = "GEOM.Polyline";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case Bezier: {
|
case Bezier: {
|
||||||
@ -1120,7 +1120,7 @@ Handle(GEOM_Object) GEOMImpl_ICurvesOperations::MakeCurveParametric
|
|||||||
aCI.SetConstructorType(COORD_CONSTRUCTOR);
|
aCI.SetConstructorType(COORD_CONSTRUCTOR);
|
||||||
aCI.SetIsClosed(false);
|
aCI.SetIsClosed(false);
|
||||||
aCI.SetCoordinates(aCoordsArray);
|
aCI.SetCoordinates(aCoordsArray);
|
||||||
aCurveType = "geompy.GEOM.Bezier";
|
aCurveType = "GEOM.Bezier";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
case Interpolation: {
|
case Interpolation: {
|
||||||
@ -1139,7 +1139,7 @@ Handle(GEOM_Object) GEOMImpl_ICurvesOperations::MakeCurveParametric
|
|||||||
aCI.SetIsClosed(false);
|
aCI.SetIsClosed(false);
|
||||||
aCI.SetDoReordering(false);
|
aCI.SetDoReordering(false);
|
||||||
aCI.SetCoordinates(aCoordsArray);
|
aCI.SetCoordinates(aCoordsArray);
|
||||||
aCurveType = "geompy.GEOM.Interpolation";
|
aCurveType = "GEOM.Interpolation";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -2140,22 +2140,22 @@ static GEOM::TPythonDump& operator<< (GEOM::TPythonDump& theDump,
|
|||||||
{
|
{
|
||||||
switch (theState) {
|
switch (theState) {
|
||||||
case GEOMAlgo_ST_IN:
|
case GEOMAlgo_ST_IN:
|
||||||
theDump << "geompy.GEOM.ST_IN";
|
theDump << "GEOM.ST_IN";
|
||||||
break;
|
break;
|
||||||
case GEOMAlgo_ST_OUT:
|
case GEOMAlgo_ST_OUT:
|
||||||
theDump << "geompy.GEOM.ST_OUT";
|
theDump << "GEOM.ST_OUT";
|
||||||
break;
|
break;
|
||||||
case GEOMAlgo_ST_ON:
|
case GEOMAlgo_ST_ON:
|
||||||
theDump << "geompy.GEOM.ST_ON";
|
theDump << "GEOM.ST_ON";
|
||||||
break;
|
break;
|
||||||
case GEOMAlgo_ST_ONIN:
|
case GEOMAlgo_ST_ONIN:
|
||||||
theDump << "geompy.GEOM.ST_ONIN";
|
theDump << "GEOM.ST_ONIN";
|
||||||
break;
|
break;
|
||||||
case GEOMAlgo_ST_ONOUT:
|
case GEOMAlgo_ST_ONOUT:
|
||||||
theDump << "geompy.GEOM.ST_ONOUT";
|
theDump << "GEOM.ST_ONOUT";
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
theDump << "geompy.GEOM.ST_UNKNOWN";
|
theDump << "GEOM.ST_UNKNOWN";
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
return theDump;
|
return theDump;
|
||||||
|
@ -1236,7 +1236,7 @@ GEOM::ListOfGO* GEOM_Gen_i::RestoreSubShapes(SALOMEDS::Study_ptr theStudy,
|
|||||||
pd << aGeomObj;
|
pd << aGeomObj;
|
||||||
j++;
|
j++;
|
||||||
}
|
}
|
||||||
pd <<"]" << ", " <<"geompy.GEOM.";
|
pd <<"]" << ", " <<"GEOM.";
|
||||||
switch (theFindMethod) {
|
switch (theFindMethod) {
|
||||||
case GEOM::FSM_GetInPlace:
|
case GEOM::FSM_GetInPlace:
|
||||||
pd << "FSM_GetInPlace"; break;
|
pd << "FSM_GetInPlace"; break;
|
||||||
@ -1780,7 +1780,7 @@ GEOM::ListOfGO* GEOM_Gen_i::RestoreGivenSubShapes(SALOMEDS::Study_ptr theStu
|
|||||||
pd << aGeomObj;
|
pd << aGeomObj;
|
||||||
j++;
|
j++;
|
||||||
}
|
}
|
||||||
pd <<"]" << ", " <<"geompy.GEOM.";
|
pd <<"]" << ", " <<"GEOM.";
|
||||||
switch (theFindMethod) {
|
switch (theFindMethod) {
|
||||||
case GEOM::FSM_GetInPlace:
|
case GEOM::FSM_GetInPlace:
|
||||||
pd << "FSM_GetInPlace"; break;
|
pd << "FSM_GetInPlace"; break;
|
||||||
|
Loading…
Reference in New Issue
Block a user