summaryrefslogtreecommitdiff
path: root/inc/IGESDimen_PointDimension.hxx
blob: 833c0f35e531e9b71795e273f2cb60af602f3d8e (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
// 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 _IGESDimen_PointDimension_HeaderFile
#define _IGESDimen_PointDimension_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_IGESDimen_PointDimension_HeaderFile
#include <Handle_IGESDimen_PointDimension.hxx>
#endif

#ifndef _Handle_IGESDimen_GeneralNote_HeaderFile
#include <Handle_IGESDimen_GeneralNote.hxx>
#endif
#ifndef _Handle_IGESDimen_LeaderArrow_HeaderFile
#include <Handle_IGESDimen_LeaderArrow.hxx>
#endif
#ifndef _Handle_IGESData_IGESEntity_HeaderFile
#include <Handle_IGESData_IGESEntity.hxx>
#endif
#ifndef _IGESData_IGESEntity_HeaderFile
#include <IGESData_IGESEntity.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Handle_IGESGeom_CircularArc_HeaderFile
#include <Handle_IGESGeom_CircularArc.hxx>
#endif
#ifndef _Handle_IGESGeom_CompositeCurve_HeaderFile
#include <Handle_IGESGeom_CompositeCurve.hxx>
#endif
class IGESDimen_GeneralNote;
class IGESDimen_LeaderArrow;
class IGESData_IGESEntity;
class IGESGeom_CircularArc;
class IGESGeom_CompositeCurve;


//! defines IGES Point Dimension, Type <220> Form <0>, <br>
//!          in package IGESDimen <br>
//!          A Point Dimension Entity consists of a leader, text, and <br>
//!          an optional circle or hexagon enclosing the text <br>
//!          IGES specs for this entity mention SimpleClosedPlanarCurve <br>
//!          Entity(106/63)which is not listed in LIST.Text In the sequel <br>
//!          we have ignored this & considered only the other two entity <br>
//!          for representing the hexagon or circle enclosing the text. <br>
class IGESDimen_PointDimension : public IGESData_IGESEntity {

public:

  
  Standard_EXPORT   IGESDimen_PointDimension();
  
  Standard_EXPORT     void Init(const Handle(IGESDimen_GeneralNote)& aNote,const Handle(IGESDimen_LeaderArrow)& anArrow,const Handle(IGESData_IGESEntity)& aGeom) ;
  
  Standard_EXPORT     Handle_IGESDimen_GeneralNote Note() const;
  
  Standard_EXPORT     Handle_IGESDimen_LeaderArrow LeaderArrow() const;
  //! returns the type of geometric entity. <br>
//! 0 if no hexagon or circle encloses the text <br>
//! 1 if CircularArc <br>
//! 2 if CompositeCurve <br>
//! 3 otherwise <br>
  Standard_EXPORT     Standard_Integer GeomCase() const;
  //! returns the Geometry Entity, Null handle if GeomCase(me) .eq. 0 <br>
  Standard_EXPORT     Handle_IGESData_IGESEntity Geom() const;
  //! returns Null handle if GeomCase(me) .ne. 1 <br>
  Standard_EXPORT     Handle_IGESGeom_CircularArc CircularArc() const;
  //! returns Null handle if GeomCase(me) .ne. 2 <br>
  Standard_EXPORT     Handle_IGESGeom_CompositeCurve CompositeCurve() const;




  DEFINE_STANDARD_RTTI(IGESDimen_PointDimension)

protected:




private: 


Handle_IGESDimen_GeneralNote theNote;
Handle_IGESDimen_LeaderArrow theLeader;
Handle_IGESData_IGESEntity theGeom;


};





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


#endif