Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:05:26

0001 // Created on: 1994-10-28
0002 // Created by: Jean Yves LEBEY
0003 // Copyright (c) 1994-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_EdgeVertexInterference_HeaderFile
0018 #define _TopOpeBRepDS_EdgeVertexInterference_HeaderFile
0019 
0020 #include <Standard.hxx>
0021 
0022 #include <Standard_Real.hxx>
0023 #include <TopOpeBRepDS_ShapeShapeInterference.hxx>
0024 #include <TopOpeBRepDS_Kind.hxx>
0025 #include <Standard_Integer.hxx>
0026 #include <Standard_Boolean.hxx>
0027 #include <TopOpeBRepDS_Config.hxx>
0028 #include <Standard_OStream.hxx>
0029 class TopOpeBRepDS_Transition;
0030 
0031 
0032 class TopOpeBRepDS_EdgeVertexInterference;
0033 DEFINE_STANDARD_HANDLE(TopOpeBRepDS_EdgeVertexInterference, TopOpeBRepDS_ShapeShapeInterference)
0034 
0035 //! An interference with a parameter (ShapeShapeInterference).
0036 class TopOpeBRepDS_EdgeVertexInterference : public TopOpeBRepDS_ShapeShapeInterference
0037 {
0038 
0039 public:
0040 
0041   
0042   //! Create an interference of VERTEX <G> on a crossed EDGE E.
0043   //!
0044   //! if support type <ST> == EDGE : <S> is edge E
0045   //! FACE : <S> is the face with bound E.
0046   //! <T> is the transition along the edge, crossing the crossed edge.
0047   //! E  is the crossed edge.
0048   //! <GIsBound> indicates if <G> is a bound of the edge.
0049   //! <P> is the parameter of <G> on the edge.
0050   //!
0051   //! interference is stored in the list of interfs of the edge.
0052   Standard_EXPORT TopOpeBRepDS_EdgeVertexInterference(const TopOpeBRepDS_Transition& T, const TopOpeBRepDS_Kind ST, const Standard_Integer S, const Standard_Integer G, const Standard_Boolean GIsBound, const TopOpeBRepDS_Config C, const Standard_Real P);
0053   
0054   //! Create an interference of VERTEX <G> on crossed EDGE <S>.
0055   //!
0056   //! <T> is the transition along the edge, crossing the crossed edge.
0057   //! <S> is the crossed edge.
0058   //! <GIsBound> indicates if <G> is a bound of the edge.
0059   //! <C> indicates the geometric configuration between
0060   //! the edge and the crossed edge.
0061   //! <P> is the parameter of <G> on the edge.
0062   //!
0063   //! interference is stored in the list of interfs of the edge.
0064   Standard_EXPORT TopOpeBRepDS_EdgeVertexInterference(const TopOpeBRepDS_Transition& T, const Standard_Integer S, const Standard_Integer G, const Standard_Boolean GIsBound, const TopOpeBRepDS_Config C, const Standard_Real P);
0065   
0066   Standard_EXPORT Standard_Real Parameter() const;
0067   
0068   Standard_EXPORT void Parameter (const Standard_Real P);
0069 
0070 
0071 
0072 
0073 
0074   DEFINE_STANDARD_RTTIEXT(TopOpeBRepDS_EdgeVertexInterference,TopOpeBRepDS_ShapeShapeInterference)
0075 
0076 protected:
0077 
0078 
0079 
0080 
0081 private:
0082 
0083 
0084   Standard_Real myParam;
0085 
0086 
0087 };
0088 
0089 
0090 
0091 
0092 
0093 
0094 
0095 #endif // _TopOpeBRepDS_EdgeVertexInterference_HeaderFile