summaryrefslogtreecommitdiff
path: root/inc/IGESBasic_SingularSubfigure.hxx
blob: 6a0859466ef287d5979115ac1e2857e4ca3ffcdd (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
// 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 _IGESBasic_SingularSubfigure_HeaderFile
#define _IGESBasic_SingularSubfigure_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_IGESBasic_SingularSubfigure_HeaderFile
#include <Handle_IGESBasic_SingularSubfigure.hxx>
#endif

#ifndef _Handle_IGESBasic_SubfigureDef_HeaderFile
#include <Handle_IGESBasic_SubfigureDef.hxx>
#endif
#ifndef _gp_XYZ_HeaderFile
#include <gp_XYZ.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
#ifndef _IGESData_IGESEntity_HeaderFile
#include <IGESData_IGESEntity.hxx>
#endif
class IGESBasic_SubfigureDef;
class gp_XYZ;


//! defines SingularSubfigure, Type <408> Form <0> <br>
//!          in package IGESBasic <br>
//!          Defines the occurrence of a single instance of the <br>
//!          defined Subfigure. <br>
class IGESBasic_SingularSubfigure : public IGESData_IGESEntity {

public:

  
  Standard_EXPORT   IGESBasic_SingularSubfigure();
  //! This method is used to set the fields of the class <br>
//!           SingularSubfigure <br>
//!       - aSubfigureDef : the Subfigure Definition entity <br>
//!       - aTranslation  : used to store the X,Y,Z coord <br>
//!       - hasScale      : Indicates the presence of scale factor <br>
//!       - aScale        : Used to store the scale factor <br>
  Standard_EXPORT     void Init(const Handle(IGESBasic_SubfigureDef)& aSubfigureDef,const gp_XYZ& aTranslation,const Standard_Boolean hasScale,const Standard_Real aScale) ;
  //! returns the subfigure definition entity <br>
  Standard_EXPORT     Handle_IGESBasic_SubfigureDef Subfigure() const;
  //! returns the X, Y, Z coordinates <br>
  Standard_EXPORT     gp_XYZ Translation() const;
  //! returns the scale factor <br>
//! if hasScaleFactor is False, returns 1.0 (default) <br>
  Standard_EXPORT     Standard_Real ScaleFactor() const;
  //! returns a boolean indicating whether scale factor <br>
//! is present or not <br>
  Standard_EXPORT     Standard_Boolean HasScaleFactor() const;
  //! returns the Translation after transformation <br>
  Standard_EXPORT     gp_XYZ TransformedTranslation() const;




  DEFINE_STANDARD_RTTI(IGESBasic_SingularSubfigure)

protected:




private: 


Handle_IGESBasic_SubfigureDef theSubfigureDef;
gp_XYZ theTranslation;
Standard_Real theScaleFactor;
Standard_Boolean hasScaleFactor;


};





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


#endif