Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-11 09:17:15

0001 // Created on: 1996-09-05
0002 // Created by: Yves FRICAUD
0003 // Copyright (c) 1996-1999 Matra Datavision
0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #ifndef _BRepOffset_MakeLoops_HeaderFile
0018 #define _BRepOffset_MakeLoops_HeaderFile
0019 
0020 #include <Message_ProgressRange.hxx>
0021 
0022 #include <Standard.hxx>
0023 #include <Standard_DefineAlloc.hxx>
0024 #include <Standard_Handle.hxx>
0025 
0026 #include <TopoDS_Shape.hxx>
0027 #include <TopTools_ShapeMapHasher.hxx>
0028 #include <NCollection_DataMap.hxx>
0029 #include <NCollection_List.hxx>
0030 class BRepAlgo_AsDes;
0031 class BRepAlgo_Image;
0032 class BRepOffset_Analyse;
0033 
0034 class BRepOffset_MakeLoops
0035 {
0036 public:
0037   DEFINE_STANDARD_ALLOC
0038 
0039   Standard_EXPORT BRepOffset_MakeLoops();
0040 
0041   Standard_EXPORT void Build(const NCollection_List<TopoDS_Shape>& LF,
0042                              const occ::handle<BRepAlgo_AsDes>&    AsDes,
0043                              BRepAlgo_Image&                       Image,
0044                              BRepAlgo_Image&                       theImageVV,
0045                              const Message_ProgressRange&          theRange);
0046 
0047   Standard_EXPORT void BuildOnContext(const NCollection_List<TopoDS_Shape>& LContext,
0048                                       const BRepOffset_Analyse&             Analyse,
0049                                       const occ::handle<BRepAlgo_AsDes>&    AsDes,
0050                                       BRepAlgo_Image&                       Image,
0051                                       const bool                            InSide,
0052                                       const Message_ProgressRange&          theRange);
0053 
0054   Standard_EXPORT void BuildFaces(const NCollection_List<TopoDS_Shape>& LF,
0055                                   const occ::handle<BRepAlgo_AsDes>&    AsDes,
0056                                   BRepAlgo_Image&                       Image,
0057                                   const Message_ProgressRange&          theRange);
0058 
0059 private:
0060   NCollection_DataMap<TopoDS_Shape, TopoDS_Shape, TopTools_ShapeMapHasher> myVerVerMap;
0061 };
0062 
0063 #endif // _BRepOffset_MakeLoops_HeaderFile