summaryrefslogtreecommitdiff
path: root/inc/PTopoDS_TShape.hxx
blob: 4209f8ca5979e93aed7dc0691a0795eb10072d50 (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_TShape_HeaderFile
#define _PTopoDS_TShape_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_TShape_HeaderFile
#include <Handle_PTopoDS_TShape.hxx>
#endif

#ifndef _TopAbs_ShapeEnum_HeaderFile
#include <TopAbs_ShapeEnum.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _Handle_PTopoDS_HArray1OfHShape_HeaderFile
#include <Handle_PTopoDS_HArray1OfHShape.hxx>
#endif
#ifndef _Handle_PTopoDS_HShape_HeaderFile
#include <Handle_PTopoDS_HShape.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_HArray1OfHShape;
class PTopoDS_HShape;


class PTopoDS_TShape : 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) ;
  //! Sets the hshape list <br>
  Standard_EXPORT     Handle_PTopoDS_HArray1OfHShape Shapes() const;
  //! Sets the i th element of the HShape list <br>
  Standard_EXPORT     Handle_PTopoDS_HShape Shapes(const Standard_Integer I) const;
  //! Returns the HShape list <br>
  Standard_EXPORT     void Shapes(const Handle(PTopoDS_HArray1OfHShape)& S) ;
  //! Returns the i th element of the hshape list <br>
  Standard_EXPORT     void Shapes(const Standard_Integer I,const Handle(PTopoDS_HShape)& S) ;

PTopoDS_TShape(const Storage_stCONSTclCOM& a) : Standard_Persistent(a)
{
  
}
    Handle(PTopoDS_HArray1OfHShape) _CSFDB_GetPTopoDS_TShapemyShapes() const { return myShapes; }
    void _CSFDB_SetPTopoDS_TShapemyShapes(const Handle(PTopoDS_HArray1OfHShape)& p) { myShapes = p; }
    Standard_Integer _CSFDB_GetPTopoDS_TShapemyFlags() const { return myFlags; }
    void _CSFDB_SetPTopoDS_TShapemyFlags(const Standard_Integer p) { myFlags = p; }



  DEFINE_STANDARD_RTTI(PTopoDS_TShape)

protected:

  
  Standard_EXPORT   PTopoDS_TShape();



private: 


Handle_PTopoDS_HArray1OfHShape myShapes;
Standard_Integer myFlags;


};





// other Inline functions and methods (like "C++: function call" methods)


#endif