File indexing completed on 2026-09-22 08:59:50
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _TopOpeBRepTool_mkTondgE_HeaderFile
0018 #define _TopOpeBRepTool_mkTondgE_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022
0023 #include <TopoDS_Edge.hxx>
0024 #include <TopoDS_Face.hxx>
0025 #include <gp_Dir.hxx>
0026 #include <gp_Pnt2d.hxx>
0027 #include <TopoDS_Shape.hxx>
0028 #include <TopTools_ShapeMapHasher.hxx>
0029 #include <NCollection_DataMap.hxx>
0030 #include <Standard_Integer.hxx>
0031 #include <NCollection_List.hxx>
0032
0033 class TopOpeBRepTool_mkTondgE
0034 {
0035 public:
0036 DEFINE_STANDARD_ALLOC
0037
0038 Standard_EXPORT TopOpeBRepTool_mkTondgE();
0039
0040 Standard_EXPORT bool Initialize(const TopoDS_Edge& dgE,
0041 const TopoDS_Face& F,
0042 const gp_Pnt2d& uvi,
0043 const TopoDS_Face& Fi);
0044
0045 Standard_EXPORT bool SetclE(const TopoDS_Edge& clE);
0046
0047 Standard_EXPORT bool IsT2d() const;
0048
0049 Standard_EXPORT bool SetRest(const double pari, const TopoDS_Edge& Ei);
0050
0051 Standard_EXPORT int GetAllRest(NCollection_List<TopoDS_Shape>& lEi);
0052
0053 Standard_EXPORT bool MkTonE(int& mkT, double& par1, double& par2);
0054
0055 Standard_EXPORT bool MkTonE(const TopoDS_Edge& Ei, int& mkT, double& par1, double& par2);
0056
0057 private:
0058 TopoDS_Edge mydgE;
0059 TopoDS_Face myF;
0060 TopoDS_Edge myclE;
0061 gp_Dir mydirINcle;
0062 TopoDS_Face myFi;
0063 gp_Pnt2d myuvi;
0064 bool isT2d;
0065 NCollection_DataMap<TopoDS_Shape, double, TopTools_ShapeMapHasher> myEpari;
0066 bool hasRest;
0067 gp_Dir myngf;
0068 gp_Dir myngfi;
0069 };
0070
0071 #endif