Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-06-01 08:32:57

0001 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0002 //
0003 // This file is part of Open CASCADE Technology software library.
0004 //
0005 // This library is free software; you can redistribute it and/or modify it under
0006 // the terms of the GNU Lesser General Public License version 2.1 as published
0007 // by the Free Software Foundation, with special exception defined in the file
0008 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0009 // distribution for complete text of the license and disclaimer of any warranty.
0010 //
0011 // Alternatively, this file may be used under the terms of Open CASCADE
0012 // commercial license or contractual agreement.
0013 
0014 #ifndef _IntTools_WLineTool_HeaderFile
0015 #define _IntTools_WLineTool_HeaderFile
0016 
0017 #include <GeomAdaptor_Surface.hxx>
0018 #include <IntPatch_WLine.hxx>
0019 #include <IntPatch_SequenceOfLine.hxx>
0020 
0021 class TopoDS_Face;
0022 class GeomInt_LineConstructor;
0023 class IntTools_Context;
0024 
0025 //! IntTools_WLineTool provides set of static methods related to walking lines.
0026 class IntTools_WLineTool
0027 {
0028 public:
0029   DEFINE_STANDARD_ALLOC
0030 
0031   Standard_EXPORT static Standard_Boolean NotUseSurfacesForApprox(const TopoDS_Face&            aF1,
0032                                                                   const TopoDS_Face&            aF2,
0033                                                                   const Handle(IntPatch_WLine)& WL,
0034                                                                   const Standard_Integer ifprm,
0035                                                                   const Standard_Integer ilprm);
0036 
0037   Standard_EXPORT static Standard_Boolean DecompositionOfWLine(
0038     const Handle(IntPatch_WLine)&      theWLine,
0039     const Handle(GeomAdaptor_Surface)& theSurface1,
0040     const Handle(GeomAdaptor_Surface)& theSurface2,
0041     const TopoDS_Face&                 theFace1,
0042     const TopoDS_Face&                 theFace2,
0043     const GeomInt_LineConstructor&     theLConstructor,
0044     const Standard_Boolean             theAvoidLConstructor,
0045     const Standard_Real                theTol,
0046     IntPatch_SequenceOfLine&           theNewLines,
0047     const Handle(IntTools_Context)&);
0048 };
0049 
0050 #endif