0030686: Visualization, SelectMgr_ViewerSelector - sorting issues of transformation...
[occt.git] / src / TopOpeBRepDS / TopOpeBRepDS_EdgeVertexInterference.hxx
1 // Created on: 1994-10-28
2 // Created by: Jean Yves LEBEY
3 // Copyright (c) 1994-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
5 //
6 // This file is part of Open CASCADE Technology software library.
7 //
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
13 //
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
16
17 #ifndef _TopOpeBRepDS_EdgeVertexInterference_HeaderFile
18 #define _TopOpeBRepDS_EdgeVertexInterference_HeaderFile
19
20 #include <Standard.hxx>
21 #include <Standard_Type.hxx>
22
23 #include <Standard_Real.hxx>
24 #include <TopOpeBRepDS_ShapeShapeInterference.hxx>
25 #include <TopOpeBRepDS_Kind.hxx>
26 #include <Standard_Integer.hxx>
27 #include <Standard_Boolean.hxx>
28 #include <TopOpeBRepDS_Config.hxx>
29 #include <Standard_OStream.hxx>
30 class TopOpeBRepDS_Transition;
31
32
33 class TopOpeBRepDS_EdgeVertexInterference;
34 DEFINE_STANDARD_HANDLE(TopOpeBRepDS_EdgeVertexInterference, TopOpeBRepDS_ShapeShapeInterference)
35
36 //! An interference with a parameter (ShapeShapeInterference).
37 class TopOpeBRepDS_EdgeVertexInterference : public TopOpeBRepDS_ShapeShapeInterference
38 {
39
40 public:
41
42   
43   //! Create an interference of VERTEX <G> on a crossed EDGE E.
44   //!
45   //! if support type <ST> == EDGE : <S> is edge E
46   //! FACE : <S> is the face with bound E.
47   //! <T> is the transition along the edge, crossing the crossed edge.
48   //! E  is the crossed edge.
49   //! <GIsBound> indicates if <G> is a bound of the edge.
50   //! <P> is the parameter of <G> on the edge.
51   //!
52   //! interference is stored in the list of interfs of the edge.
53   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);
54   
55   //! Create an interference of VERTEX <G> on crossed EDGE <S>.
56   //!
57   //! <T> is the transition along the edge, crossing the crossed edge.
58   //! <S> is the crossed edge.
59   //! <GIsBound> indicates if <G> is a bound of the edge.
60   //! <C> indicates the geometric configuration between
61   //! the edge and the crossed edge.
62   //! <P> is the parameter of <G> on the edge.
63   //!
64   //! interference is stored in the list of interfs of the edge.
65   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);
66   
67   Standard_EXPORT Standard_Real Parameter() const;
68   
69   Standard_EXPORT void Parameter (const Standard_Real P);
70
71
72
73
74
75   DEFINE_STANDARD_RTTIEXT(TopOpeBRepDS_EdgeVertexInterference,TopOpeBRepDS_ShapeShapeInterference)
76
77 protected:
78
79
80
81
82 private:
83
84
85   Standard_Real myParam;
86
87
88 };
89
90
91
92
93
94
95
96 #endif // _TopOpeBRepDS_EdgeVertexInterference_HeaderFile