d33a8cde |
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 | |
c22b52d6 |
17 | #include <GeomAdaptor_Surface.hxx> |
d33a8cde |
18 | #include <IntPatch_WLine.hxx> |
19 | #include <IntPatch_SequenceOfLine.hxx> |
c22b52d6 |
20 | |
d33a8cde |
21 | class TopoDS_Face; |
d33a8cde |
22 | class GeomInt_LineConstructor; |
23 | class IntTools_Context; |
d33a8cde |
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 | |
d33a8cde |
39 | Standard_EXPORT static |
40 | Standard_Boolean DecompositionOfWLine(const Handle(IntPatch_WLine)& theWLine, |
c22b52d6 |
41 | const Handle(GeomAdaptor_Surface)& theSurface1, |
42 | const Handle(GeomAdaptor_Surface)& theSurface2, |
d33a8cde |
43 | const TopoDS_Face& theFace1, |
44 | const TopoDS_Face& theFace2, |
45 | const GeomInt_LineConstructor& theLConstructor, |
46 | const Standard_Boolean theAvoidLConstructor, |
0d0481c7 |
47 | const Standard_Real theTol, |
d33a8cde |
48 | IntPatch_SequenceOfLine& theNewLines, |
d33a8cde |
49 | const Handle(IntTools_Context)& ); |
50 | }; |
51 | |
52 | #endif |