blob: fd6a3872c38d36253da3f2dcb38e35dfc4990480 (
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
|
// 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 _PTopoDS_TShape1_HeaderFile
#define _PTopoDS_TShape1_HeaderFile
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Handle_PTopoDS_TShape1_HeaderFile
#include <Handle_PTopoDS_TShape1.hxx>
#endif
#ifndef _TopAbs_ShapeEnum_HeaderFile
#include <TopAbs_ShapeEnum.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Handle_PTopoDS_HArray1OfShape1_HeaderFile
#include <Handle_PTopoDS_HArray1OfShape1.hxx>
#endif
#ifndef _PTopoDS_Shape1_HeaderFile
#include <PTopoDS_Shape1.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Standard_Persistent_HeaderFile
#include <Standard_Persistent.hxx>
#endif
// The Convex method can conflict with Convex defined as an integer
// in X.h
#ifdef Convex
#undef Convex
#endif
class PTopoDS_HArray1OfShape1;
class PTopoDS_Shape1;
class PTopoDS_TShape1 : public Standard_Persistent {
public:
//! Returns the type as a term of the ShapeEnum enum : <br>
//! VERTEX, EDGE, WIRE, FACE, .... <br>
Standard_EXPORT virtual TopAbs_ShapeEnum ShapeType() const = 0;
//! Returns the modification flag. <br>
Standard_EXPORT Standard_Boolean Modified() const;
//! Sets the modification flag. <br>
Standard_EXPORT void Modified(const Standard_Boolean M) ;
//! Returns the checked flag. <br>
Standard_EXPORT Standard_Boolean Checked() const;
//! Sets the checked flag. <br>
Standard_EXPORT void Checked(const Standard_Boolean C) ;
//! Returns the orientability flag. <br>
Standard_EXPORT Standard_Boolean Orientable() const;
//! Sets the orientability flag. <br>
Standard_EXPORT void Orientable(const Standard_Boolean C) ;
//! Returns the closedness flag. <br>
Standard_EXPORT Standard_Boolean Closed() const;
//! Sets the closedness flag. <br>
Standard_EXPORT void Closed(const Standard_Boolean C) ;
//! Returns the infinity flag. <br>
Standard_EXPORT Standard_Boolean Infinite() const;
//! Sets the infinity flag. <br>
Standard_EXPORT void Infinite(const Standard_Boolean C) ;
//! Returns the convexness flag. <br>
Standard_EXPORT Standard_Boolean Convex() const;
//! Sets the convexness flag. <br>
Standard_EXPORT void Convex(const Standard_Boolean C) ;
//! Returns the hshape list <br>
Standard_EXPORT Handle_PTopoDS_HArray1OfShape1 Shapes() const;
//! Returns the i th element of the Shape1 list <br>
Standard_EXPORT PTopoDS_Shape1 Shapes(const Standard_Integer I) const;
//! Sets the Shape1 list <br>
Standard_EXPORT void Shapes(const Handle(PTopoDS_HArray1OfShape1)& S) ;
//! Sets the i th element of the hshape list <br>
Standard_EXPORT void Shapes(const Standard_Integer I,const PTopoDS_Shape1& S) ;
PTopoDS_TShape1(const Storage_stCONSTclCOM& a) : Standard_Persistent(a)
{
}
Handle(PTopoDS_HArray1OfShape1) _CSFDB_GetPTopoDS_TShape1myShapes() const { return myShapes; }
void _CSFDB_SetPTopoDS_TShape1myShapes(const Handle(PTopoDS_HArray1OfShape1)& p) { myShapes = p; }
Standard_Integer _CSFDB_GetPTopoDS_TShape1myFlags() const { return myFlags; }
void _CSFDB_SetPTopoDS_TShape1myFlags(const Standard_Integer p) { myFlags = p; }
DEFINE_STANDARD_RTTI(PTopoDS_TShape1)
protected:
Standard_EXPORT PTopoDS_TShape1();
private:
Handle_PTopoDS_HArray1OfShape1 myShapes;
Standard_Integer myFlags;
};
// other Inline functions and methods (like "C++: function call" methods)
#endif
|