File indexing completed on 2026-09-25 09:21:44
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _TopOpeBRepTool_CLASSI_HeaderFile
0018 #define _TopOpeBRepTool_CLASSI_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022
0023 #include <TopoDS_Face.hxx>
0024 #include <TopoDS_Shape.hxx>
0025 #include <Bnd_Box2d.hxx>
0026 #include <NCollection_IndexedDataMap.hxx>
0027 #include <TopOpeBRepTool_face.hxx>
0028 #include <TopTools_ShapeMapHasher.hxx>
0029 #include <NCollection_DataMap.hxx>
0030 #include <Standard_Integer.hxx>
0031 #include <NCollection_List.hxx>
0032 class TopoDS_Shape;
0033 class Bnd_Box2d;
0034 class TopOpeBRepTool_face;
0035
0036 class TopOpeBRepTool_CLASSI
0037 {
0038 public:
0039 DEFINE_STANDARD_ALLOC
0040
0041 Standard_EXPORT TopOpeBRepTool_CLASSI();
0042
0043 Standard_EXPORT void Init2d(const TopoDS_Face& Fref);
0044
0045 Standard_EXPORT bool HasInit2d() const;
0046
0047 Standard_EXPORT bool Add2d(const TopoDS_Shape& S);
0048
0049 Standard_EXPORT bool GetBox2d(const TopoDS_Shape& S, Bnd_Box2d& Box2d);
0050
0051 Standard_EXPORT int ClassiBnd2d(const TopoDS_Shape& S1,
0052 const TopoDS_Shape& S2,
0053 const double tol,
0054 const bool checklarge);
0055
0056 Standard_EXPORT int Classip2d(const TopoDS_Shape& S1,
0057 const TopoDS_Shape& S2,
0058 const int stabnd2d12);
0059
0060 Standard_EXPORT bool Getface(const TopoDS_Shape& S, TopOpeBRepTool_face& fa) const;
0061
0062 Standard_EXPORT bool Classilist(
0063 const NCollection_List<TopoDS_Shape>& lS,
0064 NCollection_DataMap<TopoDS_Shape, NCollection_List<TopoDS_Shape>, TopTools_ShapeMapHasher>&
0065 mapgreasma);
0066
0067 private:
0068 TopoDS_Face myFref;
0069 NCollection_IndexedDataMap<TopoDS_Shape, Bnd_Box2d> mymapsbox2d;
0070 NCollection_DataMap<TopoDS_Shape, TopOpeBRepTool_face, TopTools_ShapeMapHasher> mymapsface;
0071 };
0072
0073 #endif