Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-07-25 09:24:48

0001 // Created on: 1998-10-29
0002 // Created by: Jean Yves LEBEY
0003 // Copyright (c) 1998-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 _TopOpeBRep_Hctxee2d_HeaderFile
0018 #define _TopOpeBRep_Hctxee2d_HeaderFile
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022 
0023 #include <TopoDS_Edge.hxx>
0024 #include <Geom2dAdaptor_Curve.hxx>
0025 #include <IntRes2d_Domain.hxx>
0026 #include <Standard_Transient.hxx>
0027 #include <Standard_Integer.hxx>
0028 class BRepAdaptor_Surface;
0029 class TopoDS_Shape;
0030 
0031 class TopOpeBRep_Hctxee2d;
0032 DEFINE_STANDARD_HANDLE(TopOpeBRep_Hctxee2d, Standard_Transient)
0033 
0034 class TopOpeBRep_Hctxee2d : public Standard_Transient
0035 {
0036 
0037 public:
0038   Standard_EXPORT TopOpeBRep_Hctxee2d();
0039 
0040   Standard_EXPORT void SetEdges(const TopoDS_Edge&         E1,
0041                                 const TopoDS_Edge&         E2,
0042                                 const BRepAdaptor_Surface& BAS1,
0043                                 const BRepAdaptor_Surface& BAS2);
0044 
0045   Standard_EXPORT const TopoDS_Shape& Edge(const Standard_Integer I) const;
0046 
0047   Standard_EXPORT const Geom2dAdaptor_Curve& Curve(const Standard_Integer I) const;
0048 
0049   Standard_EXPORT const IntRes2d_Domain& Domain(const Standard_Integer I) const;
0050 
0051   DEFINE_STANDARD_RTTIEXT(TopOpeBRep_Hctxee2d, Standard_Transient)
0052 
0053 protected:
0054 private:
0055   TopoDS_Edge         myEdge1;
0056   Geom2dAdaptor_Curve myCurve1;
0057   IntRes2d_Domain     myDomain1;
0058   TopoDS_Edge         myEdge2;
0059   Geom2dAdaptor_Curve myCurve2;
0060   IntRes2d_Domain     myDomain2;
0061 };
0062 
0063 #endif // _TopOpeBRep_Hctxee2d_HeaderFile