// File: GeometryTest_TestProjCommands.cxx // Created: 30.06.11 17:21:02 // Author: jgv@ROLEX // Copyright: Open CASCADE 2011 #include #include #include #include #include #include #include #include #include #include #include #ifdef WNT Standard_IMPORT Draw_Viewer dout; #endif //======================================================================= //function : xdistcs //purpose : //======================================================================= static Standard_Integer xdistcs(Draw_Interpretor& , Standard_Integer n, const char** a) { if (n<5) { cout<<" Use xdistcs c s t1 t2 nbp"<5) { aNbP=atoi(a[5]); } // iSize=3; // dT=(aT2-aT1)/(aNbP-1); for (i=0; iD0(aT, aP); aPPS.Init(aP, aS, aTol); bRet=aPPS.IsDone(); if (!bRet) { cout<<" GeomAPI_ProjectPointOnSurf failed"<