#include <TopTools_ListOfShape.hxx>
#include <stdio.h>
-#ifdef OCCT_DEBUG
-// For measurements.
-#include <OSD_Chronometer.hxx>
-//static OSD_Chronometer appclock;
-#endif
//#define DRAW
Standard_Real length1,length2;
length1=Data->FirstExtensionValue();
length2=Data->LastExtensionValue();
+
+ Handle(Geom_BoundedSurface) aBndSurf = Surf;
if (length1 > Precision::Confusion())
- GeomLib::ExtendSurfByLength(Surf,length1,1,Standard_False,Standard_False);
+ GeomLib::ExtendSurfByLength(aBndSurf,length1,1,Standard_False,Standard_False);
if (length2 > Precision::Confusion())
- GeomLib::ExtendSurfByLength(Surf,length2,1,Standard_False,Standard_True);
+ GeomLib::ExtendSurfByLength(aBndSurf,length2,1,Standard_False,Standard_True);
+ Surf = Handle(Geom_BSplineSurface)::DownCast (aBndSurf);
//Correction of surface on extremities
if (length1 <= Precision::Confusion())
const Standard_Boolean Appro,
const Standard_Boolean Forward,
const math_Vector& Soldep,
- Standard_Boolean& intf,
- Standard_Boolean& intl,
+ Standard_Integer& intf,
+ Standard_Integer& intl,
Standard_Boolean& Gd1,
Standard_Boolean& Gd2,
Standard_Boolean& Gf1,