Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-09-21 09:18:58

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 //! An interference with a parameter (ShapeShapeInterference).
0032 class TopOpeBRepDS_EdgeVertexInterference : public TopOpeBRepDS_ShapeShapeInterference
0033 {
0034 
0035 public:
0036   //! Create an interference of VERTEX <G> on a crossed EDGE E.
0037   //!
0038   //! if support type <ST> == EDGE : <S> is edge E
0039   //! FACE : <S> is the face with bound E.
0040   //! <T> is the transition along the edge, crossing the crossed edge.
0041   //! E is the crossed edge.
0042   //! <GIsBound> indicates if <G> is a bound of the edge.
0043   //! <P> is the parameter of <G> on the edge.
0044   //!
0045   //! interference is stored in the list of interfs of the edge.
0046   Standard_EXPORT TopOpeBRepDS_EdgeVertexInterference(const TopOpeBRepDS_Transition& T,
0047                                                       const TopOpeBRepDS_Kind        ST,
0048                                                       const int                      S,
0049                                                       const int                      G,
0050                                                       const bool                     GIsBound,
0051                                                       const TopOpeBRepDS_Config      C,
0052                                                       const double                   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,
0065                                                       const int                      S,
0066                                                       const int                      G,
0067                                                       const bool                     GIsBound,
0068                                                       const TopOpeBRepDS_Config      C,
0069                                                       const double                   P);
0070 
0071   Standard_EXPORT double Parameter() const;
0072 
0073   Standard_EXPORT void Parameter(const double P);
0074 
0075   DEFINE_STANDARD_RTTIEXT(TopOpeBRepDS_EdgeVertexInterference, TopOpeBRepDS_ShapeShapeInterference)
0076 
0077 private:
0078   double myParam;
0079 };
0080 
0081 #endif // _TopOpeBRepDS_EdgeVertexInterference_HeaderFile