summaryrefslogtreecommitdiff
path: root/inc/MAT_BasicElt.hxx
blob: 1603d1442a3b780464a792da7ec7c996f5e8caa8 (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
// 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 _MAT_BasicElt_HeaderFile
#define _MAT_BasicElt_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_MAT_BasicElt_HeaderFile
#include <Handle_MAT_BasicElt.hxx>
#endif

#ifndef _Standard_Address_HeaderFile
#include <Standard_Address.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _MMgt_TShared_HeaderFile
#include <MMgt_TShared.hxx>
#endif
#ifndef _Handle_MAT_Arc_HeaderFile
#include <Handle_MAT_Arc.hxx>
#endif
class MAT_Arc;


//! A    BasicELt  is  associated   to  each  elemtary <br>
//!          constituant of  the figure. <br>
class MAT_BasicElt : public MMgt_TShared {

public:

  //! Constructor, <anInteger> is the <index> of <me>. <br>
  Standard_EXPORT   MAT_BasicElt(const Standard_Integer anInteger);
  //! Return <startArcLeft> or <startArcRight> corresponding <br>
//!            to <aSide>. <br>
  Standard_EXPORT     Handle_MAT_Arc StartArc() const;
  //! Return <endArcLeft> or <endArcRight> corresponding <br>
//!            to <aSide>. <br>
  Standard_EXPORT     Handle_MAT_Arc EndArc() const;
  //! Return the <index> of <me> in Graph.TheBasicElts. <br>
  Standard_EXPORT     Standard_Integer Index() const;
  //! Return the <GeomIndex> of <me>. <br>
  Standard_EXPORT     Standard_Integer GeomIndex() const;
  
  Standard_EXPORT     void SetStartArc(const Handle(MAT_Arc)& anArc) ;
  
  Standard_EXPORT     void SetEndArc(const Handle(MAT_Arc)& anArc) ;
  
  Standard_EXPORT     void SetIndex(const Standard_Integer anInteger) ;
  
  Standard_EXPORT     void SetGeomIndex(const Standard_Integer anInteger) ;




  DEFINE_STANDARD_RTTI(MAT_BasicElt)

protected:




private: 


Standard_Address startLeftArc;
Standard_Address endLeftArc;
Standard_Integer index;
Standard_Integer geomIndex;


};





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


#endif