Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:03:21

0001 // Created on: 1993-11-16
0002 // Created by: Laurent BOURESCHE
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 _ChFiDS_FaceInterference_HeaderFile
0018 #define _ChFiDS_FaceInterference_HeaderFile
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 #include <Standard_Handle.hxx>
0023 
0024 #include <Standard_Real.hxx>
0025 #include <Standard_Integer.hxx>
0026 #include <TopAbs_Orientation.hxx>
0027 #include <Standard_Boolean.hxx>
0028 class Geom2d_Curve;
0029 
0030 
0031 //! interference face/fillet
0032 class ChFiDS_FaceInterference 
0033 {
0034 public:
0035 
0036   DEFINE_STANDARD_ALLOC
0037 
0038   
0039   Standard_EXPORT ChFiDS_FaceInterference();
0040   
0041     void SetInterference (const Standard_Integer LineIndex, const TopAbs_Orientation Trans, const Handle(Geom2d_Curve)& PCurv1, const Handle(Geom2d_Curve)& PCurv2);
0042   
0043   Standard_EXPORT void SetTransition (const TopAbs_Orientation Trans);
0044   
0045     void SetFirstParameter (const Standard_Real U1);
0046   
0047     void SetLastParameter (const Standard_Real U1);
0048   
0049   Standard_EXPORT void SetParameter (const Standard_Real U1, const Standard_Boolean IsFirst);
0050   
0051     Standard_Integer LineIndex() const;
0052   
0053     void SetLineIndex (const Standard_Integer I);
0054   
0055     TopAbs_Orientation Transition() const;
0056   
0057     const Handle(Geom2d_Curve)& PCurveOnFace() const;
0058   
0059     const Handle(Geom2d_Curve)& PCurveOnSurf() const;
0060   
0061     Handle(Geom2d_Curve)& ChangePCurveOnFace();
0062   
0063     Handle(Geom2d_Curve)& ChangePCurveOnSurf();
0064   
0065     Standard_Real FirstParameter() const;
0066   
0067     Standard_Real LastParameter() const;
0068   
0069   Standard_EXPORT Standard_Real Parameter (const Standard_Boolean IsFirst) const;
0070 
0071 
0072 
0073 
0074 protected:
0075 
0076 
0077 
0078 
0079 
0080 private:
0081 
0082 
0083 
0084   Standard_Real firstParam;
0085   Standard_Real lastParam;
0086   Handle(Geom2d_Curve) pCurveOnFace;
0087   Handle(Geom2d_Curve) pCurveOnSurf;
0088   Standard_Integer lineindex;
0089   TopAbs_Orientation LineTransition;
0090 
0091 
0092 };
0093 
0094 
0095 #include <ChFiDS_FaceInterference.lxx>
0096 
0097 
0098 
0099 
0100 
0101 #endif // _ChFiDS_FaceInterference_HeaderFile