1 #include <IntPatch_PolygoTool.ixx>
5 void IntPatch_PolygoTool::Dump(const IntPatch_Polygo& L) {
8 cout<<"\n#------------- D u m p B o x 2 d ("<<num<<")"<<endl;
9 IntPatch_PolygoTool::Bounding(L).Dump();
10 cout<<"\n#-----------------------------------------------"<<endl;
12 Standard_Integer nbs = IntPatch_PolygoTool::NbSegments(L);
13 cout<<"\npol2d "<<num<<" "<<nbs<<" ";
14 cout<<IntPatch_PolygoTool::DeflectionOverEstimation(L)<<endl;
16 for(Standard_Integer i=1;i<=nbs;i++) {
17 gp_Pnt2d P(IntPatch_PolygoTool::BeginOfSeg(L,i));
18 cout<<"pnt2d "<<num<<" "<< P.X()<<" "<<P.Y()<<endl;
20 gp_Pnt2d PF(IntPatch_PolygoTool::EndOfSeg(L,nbs));
21 cout<<"pnt2d "<<num<<" "<< PF.X()<<" "<<PF.Y()<<endl;