File indexing completed on 2026-10-02 09:14:20
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _TopOpeBRep_Hctxff2d_HeaderFile
0018 #define _TopOpeBRep_Hctxff2d_HeaderFile
0019
0020 #include <BRepAdaptor_Surface.hxx>
0021 #include <GeomAbs_SurfaceType.hxx>
0022 #include <TopoDS_Face.hxx>
0023
0024 class TopOpeBRep_Hctxff2d : public Standard_Transient
0025 {
0026
0027 public:
0028 Standard_EXPORT TopOpeBRep_Hctxff2d();
0029
0030 Standard_EXPORT void SetFaces(const TopoDS_Face& F1, const TopoDS_Face& F2);
0031
0032 Standard_EXPORT void SetHSurfaces(const occ::handle<BRepAdaptor_Surface>& S1,
0033 const occ::handle<BRepAdaptor_Surface>& S2);
0034
0035 Standard_EXPORT void SetTolerances(const double Tol1, const double Tol2);
0036
0037 Standard_EXPORT void GetTolerances(double& Tol1, double& Tol2) const;
0038
0039 Standard_EXPORT double GetMaxTolerance() const;
0040
0041 Standard_EXPORT const TopoDS_Face& Face(const int I) const;
0042
0043 Standard_EXPORT occ::handle<BRepAdaptor_Surface> HSurface(const int I) const;
0044
0045 Standard_EXPORT bool SurfacesSameOriented() const;
0046
0047 Standard_EXPORT bool FacesSameOriented() const;
0048
0049 Standard_EXPORT bool FaceSameOrientedWithRef(const int I) const;
0050
0051 DEFINE_STANDARD_RTTIEXT(TopOpeBRep_Hctxff2d, Standard_Transient)
0052
0053 private:
0054 Standard_EXPORT void SetHSurfacesPrivate();
0055
0056 TopoDS_Face myFace1;
0057 occ::handle<BRepAdaptor_Surface> mySurface1;
0058 GeomAbs_SurfaceType mySurfaceType1;
0059 bool myf1surf1F_sameoriented;
0060 TopoDS_Face myFace2;
0061 occ::handle<BRepAdaptor_Surface> mySurface2;
0062 GeomAbs_SurfaceType mySurfaceType2;
0063 bool myf2surf1F_sameoriented;
0064 bool mySurfacesSameOriented;
0065 bool myFacesSameOriented;
0066 double myTol1;
0067 double myTol2;
0068 };
0069
0070 #endif