Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-11-28 10:20:49

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_Line.hxx>
0020 #include <NCollection_Sequence.hxx>
0021 
0022 class TopoDS_Face;
0023 class GeomInt_LineConstructor;
0024 class IntTools_Context;
0025 
0026 //! IntTools_WLineTool provides set of static methods related to walking lines.
0027 class IntTools_WLineTool
0028 {
0029 public:
0030   DEFINE_STANDARD_ALLOC
0031 
0032   Standard_EXPORT static bool NotUseSurfacesForApprox(const TopoDS_Face&                 aF1,
0033                                                       const TopoDS_Face&                 aF2,
0034                                                       const occ::handle<IntPatch_WLine>& WL,
0035                                                       const int                          ifprm,
0036                                                       const int                          ilprm);
0037 
0038   Standard_EXPORT static bool DecompositionOfWLine(
0039     const occ::handle<IntPatch_WLine>&                theWLine,
0040     const occ::handle<GeomAdaptor_Surface>&           theSurface1,
0041     const occ::handle<GeomAdaptor_Surface>&           theSurface2,
0042     const TopoDS_Face&                                theFace1,
0043     const TopoDS_Face&                                theFace2,
0044     const GeomInt_LineConstructor&                    theLConstructor,
0045     const bool                                        theAvoidLConstructor,
0046     const double                                      theTol,
0047     NCollection_Sequence<occ::handle<IntPatch_Line>>& theNewLines,
0048     const occ::handle<IntTools_Context>&);
0049 };
0050 
0051 #endif