blob: b2f54a2612a149ca6e7b5492c372ca5e5fc3710f (
plain)
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
124
125
126
127
128
129
130
131
|
// 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 _TopAbs_HeaderFile
#define _TopAbs_HeaderFile
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif
#ifndef _TopAbs_Orientation_HeaderFile
#include <TopAbs_Orientation.hxx>
#endif
#ifndef _Standard_OStream_HeaderFile
#include <Standard_OStream.hxx>
#endif
#ifndef _TopAbs_ShapeEnum_HeaderFile
#include <TopAbs_ShapeEnum.hxx>
#endif
#ifndef _TopAbs_State_HeaderFile
#include <TopAbs_State.hxx>
#endif
class TopAbs {
public:
void* operator new(size_t,void* anAddress)
{
return anAddress;
}
void* operator new(size_t size)
{
return Standard::Allocate(size);
}
void operator delete(void *anAddress)
{
if (anAddress) Standard::Free((Standard_Address&)anAddress);
}
//! Compose the Orientation <Or1> and <Or2>. This <br>
//! composition is not symmetric (if you switch <Or1> and <br>
//! <Or2> the result is different). It assumes that <Or1> <br>
//! is the Orientation of a Shape S1 containing a Shape S2 <br>
//! of Orientation Or2. The result is the cumulated <br>
//! orientation of S2 in S1. The composition law is : <br>
//! <br>
//! \ Or2 FORWARD REVERSED INTERNAL EXTERNAL <br>
//! Or1 ------------------------------------- <br>
//! FORWARD | FORWARD REVERSED INTERNAL EXTERNAL <br>
//! | <br>
//! REVERSED | REVERSED FORWARD INTERNAL EXTERNAL <br>
//! | <br>
//! INTERNAL | INTERNAL INTERNAL INTERNAL INTERNAL <br>
//! | <br>
//! EXTERNAL | EXTERNAL EXTERNAL EXTERNAL EXTERNAL <br>
//! Note: The top corner in the table is the most important <br>
//! for the purposes of Open CASCADE topology and shape sharing. <br>
Standard_EXPORT static TopAbs_Orientation Compose(const TopAbs_Orientation Or1,const TopAbs_Orientation Or2) ;
//! xchanges the interior/exterior status of the two <br>
//! sides. This is what happens when the sense of <br>
//! direction is reversed. The following rules apply: <br>
//! <br>
//! FORWARD REVERSED <br>
//! REVERSED FORWARD <br>
//! INTERNAL INTERNAL <br>
//! EXTERNAL EXTERNAL <br>
//! <br>
//! Reverse exchange the material sides. <br>
//! <br>
Standard_EXPORT static TopAbs_Orientation Reverse(const TopAbs_Orientation Or) ;
//! Reverses the interior/exterior status of each side of <br>
//! the object. So, to take the complement of an object <br>
//! means to reverse the interior/exterior status of its <br>
//! boundary, i.e. inside becomes outside. <br>
//! The method returns the complementary orientation, <br>
//! following the rules in the table below: <br>
//! FORWARD REVERSED <br>
//! REVERSED FORWARD <br>
//! INTERNAL EXTERNAL <br>
//! EXTERNAL INTERNAL <br>
//! <br>
//! Complement complements the material side. Inside <br>
//! becomes outside. <br>
//! <br>
Standard_EXPORT static TopAbs_Orientation Complement(const TopAbs_Orientation Or) ;
//! Prints the name of Shape <SEq> as a String on the <br>
//! Stream <S> and returns <S>. <br>
//! <br>
Standard_EXPORT static Standard_OStream& Print(const TopAbs_ShapeEnum SE,Standard_OStream& S) ;
//! Prints the name of the Orientation <Or> as a String on <br>
//! the Stream <S> and returns <S>. <br>
//! <br>
Standard_EXPORT static Standard_OStream& Print(const TopAbs_Orientation Or,Standard_OStream& S) ;
//! Prints the name of the State <St> as a String on <br>
//! the Stream <S> and returns <S>. <br>
//! <br>
Standard_EXPORT static Standard_OStream& Print(const TopAbs_State St,Standard_OStream& S) ;
protected:
private:
};
// other Inline functions and methods (like "C++: function call" methods)
#endif
|