1 // Copyright (c) 1999-2014 OPEN CASCADE SAS 2 // 3 // This file is part of Open CASCADE Technology software library. 4 // 5 // This library is free software; you can redistribute it and/or modify it under 6 // the terms of the GNU Lesser General Public License version 2.1 as published 7 // by the Free Software Foundation, with special exception defined in the file 8 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT 9 // distribution for complete text of the license and disclaimer of any warranty. 10 // 11 // Alternatively, this file may be used under the terms of Open CASCADE 12 // commercial license or contractual agreement. 13 14 #ifndef _IntTools_WLineTool_HeaderFile 15 #define _IntTools_WLineTool_HeaderFile 16 17 #include <GeomAdaptor_Surface.hxx> 18 #include <IntPatch_WLine.hxx> 19 #include <IntPatch_SequenceOfLine.hxx> 20 21 class TopoDS_Face; 22 class GeomInt_LineConstructor; 23 class IntTools_Context; 24 25 //! IntTools_WLineTool provides set of static methods related to walking lines. 26 class IntTools_WLineTool 27 { 28 public: 29 30 DEFINE_STANDARD_ALLOC 31 32 Standard_EXPORT static 33 Standard_Boolean NotUseSurfacesForApprox(const TopoDS_Face& aF1, 34 const TopoDS_Face& aF2, 35 const Handle(IntPatch_WLine)& WL, 36 const Standard_Integer ifprm, 37 const Standard_Integer ilprm); 38 39 Standard_EXPORT static 40 Standard_Boolean DecompositionOfWLine(const Handle(IntPatch_WLine)& theWLine, 41 const Handle(GeomAdaptor_Surface)& theSurface1, 42 const Handle(GeomAdaptor_Surface)& theSurface2, 43 const TopoDS_Face& theFace1, 44 const TopoDS_Face& theFace2, 45 const GeomInt_LineConstructor& theLConstructor, 46 const Standard_Boolean theAvoidLConstructor, 47 const Standard_Real theTol, 48 IntPatch_SequenceOfLine& theNewLines, 49 Standard_Real& theReachedTol3d, 50 const Handle(IntTools_Context)& ); 51 }; 52 53 #endif