Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-22 08:59:49

0001 // Created on: 1993-06-23
0002 // Created by: Jean Yves LEBEY
0003 // Copyright (c) 1993-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_SurfaceCurveInterference_HeaderFile
0018 #define _TopOpeBRepDS_SurfaceCurveInterference_HeaderFile
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022 
0023 #include <TopOpeBRepDS_Interference.hxx>
0024 #include <TopOpeBRepDS_Kind.hxx>
0025 #include <Standard_Integer.hxx>
0026 class Geom2d_Curve;
0027 class TopOpeBRepDS_Transition;
0028 
0029 //! an interference with a 2d curve
0030 class TopOpeBRepDS_SurfaceCurveInterference : public TopOpeBRepDS_Interference
0031 {
0032 
0033 public:
0034   Standard_EXPORT TopOpeBRepDS_SurfaceCurveInterference();
0035 
0036   Standard_EXPORT TopOpeBRepDS_SurfaceCurveInterference(const TopOpeBRepDS_Transition& Transition,
0037                                                         const TopOpeBRepDS_Kind        SupportType,
0038                                                         const int                      Support,
0039                                                         const TopOpeBRepDS_Kind        GeometryType,
0040                                                         const int                      Geometry,
0041                                                         const occ::handle<Geom2d_Curve>& PC);
0042 
0043   Standard_EXPORT TopOpeBRepDS_SurfaceCurveInterference(
0044     const occ::handle<TopOpeBRepDS_Interference>& I);
0045 
0046   Standard_EXPORT const occ::handle<Geom2d_Curve>& PCurve() const;
0047 
0048   Standard_EXPORT void PCurve(const occ::handle<Geom2d_Curve>& PC);
0049 
0050   DEFINE_STANDARD_RTTIEXT(TopOpeBRepDS_SurfaceCurveInterference, TopOpeBRepDS_Interference)
0051 
0052 private:
0053   occ::handle<Geom2d_Curve> myPCurve;
0054 };
0055 
0056 #endif // _TopOpeBRepDS_SurfaceCurveInterference_HeaderFile