Handle(Poly_PolygonOnTriangulation) Poly;
Handle(TColStd_HArray1OfReal) Param;
-
for (i=1; i<=nbpOntri && PS.More(); i++, PS.Next()) {
- if ( !progress.IsNull() )
- progress->Show();
-
Poly = Handle(Poly_PolygonOnTriangulation)::DownCast(myNodes(i));
const TColStd_Array1OfInteger& Nodes = Poly->Nodes();
if (!Compact) {
Handle(Message_ProgressIndicator) progress = GetProgress();
Message_ProgressSentry PS(progress, "Polygons On Triangulation", 0, nbpol, 1);
for (i=1; i<=nbpol&& PS.More(); i++, PS.Next()) {
- if ( !progress.IsNull() )
- progress->Show();
-
IS >> nbnodes;
TColStd_Array1OfInteger Nodes(1, nbnodes);
for (j = 1; j <= nbnodes; j++) {
Handle(Poly_Polygon3D) P;
for (i = 1; i <= nbpol && PS.More(); i++, PS.Next()) {
- if ( !progress.IsNull() )
- progress->Show();
-
P = Handle(Poly_Polygon3D)::DownCast(myPolygons3D(i));
if (Compact) {
OS << P->NbNodes() << " ";
Handle(Message_ProgressIndicator) progress = GetProgress();
Message_ProgressSentry PS(progress, "3D Polygons", 0, nbpol, 1);
for (i=1; i<=nbpol && PS.More(); i++, PS.Next()) {
- if ( !progress.IsNull() )
- progress->Show();
-
IS >> nbnodes;
IS >> hasparameters;
TColgp_Array1OfPnt Nodes(1, nbnodes);
OS <<"Dump of " << nbtri << " Triangulations\n";
OS << " -------\n";
}
-
+
Handle(Poly_Triangulation) T;
for (i = 1; i <= nbtri && PS.More(); i++, PS.Next()) {
- if ( !progress.IsNull() )
- progress->Show();
T = Handle(Poly_Triangulation)::DownCast(myTriangulations(i));
if (Compact) {
Handle(Message_ProgressIndicator) progress = GetProgress();
Message_ProgressSentry PS(progress, "Triangulations", 0, nbtri, 1);
for (i=1; i<=nbtri && PS.More();i++, PS.Next()) {
- if ( !progress.IsNull() )
- progress->Show();
IS >> nbNodes >> nbTriangles >> hasUV;
IS >> d;
myTriangulations.Add(T);
}
}
-
-
//OCC19559
Handle(Message_ProgressIndicator) progress = GetProgress();
Message_ProgressSentry PS(progress, "2D Curves", 0, nbsurf, 1);
-
for (i = 1; i <= nbsurf && PS.More(); i++, PS.Next()) {
- if ( !myProgress.IsNull() )
- progress->Show();
PrintCurve2d(Handle(Geom2d_Curve)::DownCast(myMap(i)),OS,Standard_True);
}
-
OS.precision(prec);
}
//OCC19559
Handle(Message_ProgressIndicator) progress = GetProgress();
Message_ProgressSentry PS(progress, "2D Curves", 0, nbcurve, 1);
-
for (i = 1; i <= nbcurve && PS.More(); i++, PS.Next()) {
- if ( !myProgress.IsNull() )
- progress->Show();
-
GeomTools_Curve2dSet::ReadCurve2d(IS,C);
myMap.Add(C);
}
//OCC19559
Handle(Message_ProgressIndicator) progress = GetProgress();
Message_ProgressSentry PS(progress, "3D Curves", 0, nbcurve, 1);
-
for (i = 1; i <= nbcurve && PS.More(); i++, PS.Next()) {
- if ( !progress.IsNull() )
- progress->Show();
-
PrintCurve(Handle(Geom_Curve)::DownCast(myMap(i)),OS,Standard_True);
}
-
OS.precision(prec);
}
Handle(Message_ProgressIndicator) progress = GetProgress();
Message_ProgressSentry PS(progress, "3D Curves", 0, nbcurve, 1);
for (i = 1; i <= nbcurve && PS.More(); i++, PS.Next()) {
- if ( !progress.IsNull() )
- progress->Show();
-
GeomTools_CurveSet::ReadCurve(IS,C);
myMap.Add(C);
}
//OCC19559
Handle(Message_ProgressIndicator) progress = GetProgress();
Message_ProgressSentry PS(progress, "Surfaces", 0, nbsurf, 1);
-
for (i = 1; i <= nbsurf && PS.More(); i++, PS.Next()) {
- if ( !progress.IsNull() )
- progress->Show();
-
PrintSurface(Handle(Geom_Surface)::DownCast(myMap(i)),OS,Standard_True);
}
-
OS.precision(prec);
}
Handle(Message_ProgressIndicator) progress = GetProgress();
Message_ProgressSentry PS(progress, "Surfaces", 0, nbsurf, 1);
for (i = 1; i <= nbsurf && PS.More(); i++, PS.Next()) {
- if ( !progress.IsNull() )
- progress->Show();
-
GeomTools_SurfaceSet::ReadSurface(IS,S);
myMap.Add(S);
}
//OCC19559
Message_ProgressSentry PS(GetProgress(), "Locations", 0, nbLoc, 1);
-
for (i = 1; i <= nbLoc && PS.More(); i++, PS.Next()) {
- if ( !GetProgress().IsNull() )
- GetProgress()->Show();
-
TopLoc_Location L = myMap(i);
//OCC19559
Message_ProgressSentry PS(GetProgress(), "Locations", 0, nbLoc, 1);
for (i = 1; i <= nbLoc&& PS.More(); i++, PS.Next()) {
- if ( !GetProgress().IsNull() )
- GetProgress()->Show();
-
Standard_Integer typLoc;
IS >> typLoc;
if ( !myProgress.IsNull() )
myProgress->NewScope ( 15, "Shapes" );
Message_ProgressSentry PS(myProgress, "Shapes", 0, nbShapes, 1);
-
for (i = 1; i <= nbShapes && PS.More(); i++, PS.Next()) {
- if ( !myProgress.IsNull() )
- myProgress->Show();
-
const TopoDS_Shape& S = myShapes(i);
// Type
myProgress->NewScope ( 15, "Shapes" );
Message_ProgressSentry PS(myProgress, "Shapes", 0, nbShapes, 1);
for (i = 1; i <= nbShapes && PS.More(); i++, PS.Next() ) {
- if ( !myProgress.IsNull() )
- myProgress->Show();
TopoDS_Shape S;
//Read type and create empty shape.