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
6 // This file is part of Open CASCADE Technology software library.
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.
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
17 #ifndef _TopOpeBRepDS_EdgeVertexInterference_HeaderFile
18 #define _TopOpeBRepDS_EdgeVertexInterference_HeaderFile
20 #include <Standard.hxx>
21 #include <Standard_Type.hxx>
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;
33 class TopOpeBRepDS_EdgeVertexInterference;
34 DEFINE_STANDARD_HANDLE(TopOpeBRepDS_EdgeVertexInterference, TopOpeBRepDS_ShapeShapeInterference)
36 //! An interference with a parameter (ShapeShapeInterference).
37 class TopOpeBRepDS_EdgeVertexInterference : public TopOpeBRepDS_ShapeShapeInterference
43 //! Create an interference of VERTEX <G> on a crossed EDGE E.
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.
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);
55 //! Create an interference of VERTEX <G> on crossed EDGE <S>.
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.
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);
67 Standard_EXPORT Standard_Real Parameter() const;
69 Standard_EXPORT void Parameter (const Standard_Real P);
75 DEFINE_STANDARD_RTTIEXT(TopOpeBRepDS_EdgeVertexInterference,TopOpeBRepDS_ShapeShapeInterference)
85 Standard_Real myParam;
96 #endif // _TopOpeBRepDS_EdgeVertexInterference_HeaderFile