File: TopOpeBRepDS_Interference.hxx

package info (click to toggle)
oce 0.18.3-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 301,548 kB
  • sloc: cpp: 1,190,609; ansic: 67,225; sh: 11,630; tcl: 7,954; cs: 5,221; python: 2,867; java: 1,522; makefile: 342; xml: 292; perl: 37
file content (123 lines) | stat: -rw-r--r-- 3,822 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _TopOpeBRepDS_Interference_HeaderFile
#define _TopOpeBRepDS_Interference_HeaderFile

#include <Standard.hxx>
#include <Standard_DefineHandle.hxx>
#include <Handle_TopOpeBRepDS_Interference.hxx>

#include <TopOpeBRepDS_Transition.hxx>
#include <Standard_Integer.hxx>
#include <TopOpeBRepDS_Kind.hxx>
#include <MMgt_TShared.hxx>
#include <Standard_Boolean.hxx>
#include <Standard_OStream.hxx>
class TopOpeBRepDS_Transition;
class TCollection_AsciiString;


//! An interference    is   the   description  of  the
//! attachment of  a new  geometry on a  geometry. For
//! example an intersection point  on an Edge or on  a
//! Curve.
//!
//! The Interference contains the following data :
//!
//! - Transition :  How the interference  separates the
//! existing geometry in INSIDE and OUTSIDE.
//!
//! - SupportType : Type of  the object supporting the
//! interference. (FACE, EDGE, VERTEX, SURFACE, CURVE).
//!
//! - Support :  Index  in the data  structure  of the
//! object supporting the interference.
//!
//! - GeometryType  :   Type  of the  geometry of  the
//! interference (SURFACE, CURVE, POINT).
//!
//! - Geometry : Index  in the data structure  of the
//! geometry.
class TopOpeBRepDS_Interference : public MMgt_TShared
{

public:

  
  Standard_EXPORT TopOpeBRepDS_Interference();
  
  Standard_EXPORT TopOpeBRepDS_Interference(const TopOpeBRepDS_Transition& Transition, const TopOpeBRepDS_Kind SupportType, const Standard_Integer Support, const TopOpeBRepDS_Kind GeometryType, const Standard_Integer Geometry);
  
  Standard_EXPORT TopOpeBRepDS_Interference(const Handle(TopOpeBRepDS_Interference)& I);
  
  Standard_EXPORT  const  TopOpeBRepDS_Transition& Transition()  const;
  
  Standard_EXPORT   TopOpeBRepDS_Transition& ChangeTransition() ;
  
  Standard_EXPORT   void Transition (const TopOpeBRepDS_Transition& T) ;
  
  //! return GeometryType + Geometry + SupportType + Support
  Standard_EXPORT   void GKGSKS (TopOpeBRepDS_Kind& GK, Standard_Integer& G, TopOpeBRepDS_Kind& SK, Standard_Integer& S)  const;
  
  Standard_EXPORT   TopOpeBRepDS_Kind SupportType()  const;
  
  Standard_EXPORT   Standard_Integer Support()  const;
  
  Standard_EXPORT   TopOpeBRepDS_Kind GeometryType()  const;
  
  Standard_EXPORT   Standard_Integer Geometry()  const;
  
  Standard_EXPORT   void SetGeometry (const Standard_Integer GI) ;
  
  Standard_EXPORT   void SupportType (const TopOpeBRepDS_Kind ST) ;
  
  Standard_EXPORT   void Support (const Standard_Integer S) ;
  
  Standard_EXPORT   void GeometryType (const TopOpeBRepDS_Kind GT) ;
  
  Standard_EXPORT   void Geometry (const Standard_Integer G) ;
  
  Standard_EXPORT   Standard_Boolean HasSameSupport (const Handle(TopOpeBRepDS_Interference)& Other)  const;
  
  Standard_EXPORT   Standard_Boolean HasSameGeometry (const Handle(TopOpeBRepDS_Interference)& Other)  const;
  
  Standard_EXPORT   Standard_OStream& DumpG (Standard_OStream& OS)  const;
  
  Standard_EXPORT   Standard_OStream& DumpS (Standard_OStream& OS)  const;
  
  Standard_EXPORT virtual   Standard_OStream& Dump (Standard_OStream& OS)  const;
  
  Standard_EXPORT   Standard_OStream& Dump (Standard_OStream& OS, const TCollection_AsciiString& s1, const TCollection_AsciiString& s2)  const;




  DEFINE_STANDARD_RTTI(TopOpeBRepDS_Interference)

protected:




private: 


  TopOpeBRepDS_Transition myTransition;
  Standard_Integer mySupport;
  Standard_Integer myGeometry;
  TopOpeBRepDS_Kind mySupportType;
  TopOpeBRepDS_Kind myGeometryType;


};







#endif // _TopOpeBRepDS_Interference_HeaderFile