Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:04:11

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 
0030   DEFINE_STANDARD_ALLOC
0031 
0032   Standard_EXPORT static
0033     Standard_Boolean NotUseSurfacesForApprox(const TopoDS_Face& aF1,
0034                                              const TopoDS_Face& aF2,
0035                                              const Handle(IntPatch_WLine)& WL,
0036                                              const Standard_Integer ifprm,
0037                                              const Standard_Integer ilprm);
0038 
0039   Standard_EXPORT static
0040   Standard_Boolean DecompositionOfWLine(const Handle(IntPatch_WLine)& theWLine,
0041                                         const Handle(GeomAdaptor_Surface)&            theSurface1, 
0042                                         const Handle(GeomAdaptor_Surface)&            theSurface2,
0043                                         const TopoDS_Face&                             theFace1,
0044                                         const TopoDS_Face&                             theFace2,
0045                                         const GeomInt_LineConstructor&                 theLConstructor,
0046                                         const Standard_Boolean                         theAvoidLConstructor,
0047                                         const Standard_Real                            theTol,
0048                                         IntPatch_SequenceOfLine&                       theNewLines,
0049                                         const Handle(IntTools_Context)& );
0050 };
0051 
0052 #endif