Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/opencascade/TopOpeBRepDS_TOOL.hxx was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // Created on: 1999-01-25
0002 // Created by: Xuan PHAM PHU
0003 // Copyright (c) 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 _TopOpeBRepDS_TOOL_HeaderFile
0018 #define _TopOpeBRepDS_TOOL_HeaderFile
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023 
0024 #include <Standard_Integer.hxx>
0025 #include <TopoDS_Shape.hxx>
0026 #include <NCollection_List.hxx>
0027 #include <TopOpeBRepDS_ListOfShapeOn1State.hxx>
0028 #include <TopTools_ShapeMapHasher.hxx>
0029 #include <NCollection_DataMap.hxx>
0030 class TopOpeBRepDS_HDataStructure;
0031 class TopoDS_Edge;
0032 class TopoDS_Shape;
0033 
0034 class TopOpeBRepDS_TOOL
0035 {
0036 public:
0037   DEFINE_STANDARD_ALLOC
0038 
0039   Standard_EXPORT static int EShareG(const occ::handle<TopOpeBRepDS_HDataStructure>& HDS,
0040                                      const TopoDS_Edge&                              E,
0041                                      NCollection_List<TopoDS_Shape>&                 lEsd);
0042 
0043   Standard_EXPORT static bool ShareG(const occ::handle<TopOpeBRepDS_HDataStructure>& HDS,
0044                                      const int                                       is1,
0045                                      const int                                       is2);
0046 
0047   Standard_EXPORT static bool GetEsd(const occ::handle<TopOpeBRepDS_HDataStructure>& HDS,
0048                                      const TopoDS_Shape&                             S,
0049                                      const int                                       ie,
0050                                      int&                                            iesd);
0051 
0052   Standard_EXPORT static bool ShareSplitON(
0053     const occ::handle<TopOpeBRepDS_HDataStructure>&     HDS,
0054     const NCollection_DataMap<TopoDS_Shape,
0055                               TopOpeBRepDS_ListOfShapeOn1State,
0056                               TopTools_ShapeMapHasher>& MspON,
0057     const int                                           i1,
0058     const int                                           i2,
0059     TopoDS_Shape&                                       spON);
0060 
0061   Standard_EXPORT static bool GetConfig(const occ::handle<TopOpeBRepDS_HDataStructure>&     HDS,
0062                                         const NCollection_DataMap<TopoDS_Shape,
0063                                                                   TopOpeBRepDS_ListOfShapeOn1State,
0064                                                                   TopTools_ShapeMapHasher>& MEspON,
0065                                         const int                                           ie,
0066                                         const int                                           iesd,
0067                                         int&                                                conf);
0068 };
0069 
0070 #endif // _TopOpeBRepDS_TOOL_HeaderFile