summaryrefslogtreecommitdiff
path: root/inc/IGESAppli_LineWidening.hxx
blob: 0f239770554d547259ec17e256e2b6f8d4f762f1 (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
// 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 _IGESAppli_LineWidening_HeaderFile
#define _IGESAppli_LineWidening_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_IGESAppli_LineWidening_HeaderFile
#include <Handle_IGESAppli_LineWidening.hxx>
#endif

#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
#ifndef _IGESData_IGESEntity_HeaderFile
#include <IGESData_IGESEntity.hxx>
#endif


//! defines LineWidening, Type <406> Form <5> <br>
//!          in package IGESAppli <br>
//!          Defines the characteristics of entities when they are <br>
//!          used to define locations of items. <br>
class IGESAppli_LineWidening : public IGESData_IGESEntity {

public:

  
  Standard_EXPORT   IGESAppli_LineWidening();
  //! This method is used to set the fields of the class <br>
//!           LineWidening <br>
//!       - nbPropVal   : Number of property values = 5 <br>
//!       - aWidth      : Width of metalization <br>
//!       - aCornering  : Cornering codes <br>
//!                       0 = rounded <br>
//!                       1 = squared <br>
//!       - aExtnFlag   : Extension Flag <br>
//!                       0 = No Extension <br>
//!                       1 = One-half width extension <br>
//!                       2 = Extn set by ExtnVal <br>
//!       - aJustifFlag : Justification flag <br>
//!                       0 = Center justified <br>
//!                       1 = left justified <br>
//!                       2 = right justified <br>
//!       - aExtnVal    : Extension value if aExtnFlag = 2 <br>
  Standard_EXPORT     void Init(const Standard_Integer nbPropVal,const Standard_Real aWidth,const Standard_Integer aCornering,const Standard_Integer aExtnFlag,const Standard_Integer aJustifFlag,const Standard_Real aExtnVal) ;
  //! returns the number of property values <br>
//! is always 5 <br>
  Standard_EXPORT     Standard_Integer NbPropertyValues() const;
  //! returns the width of metallization <br>
  Standard_EXPORT     Standard_Real WidthOfMetalization() const;
  //! returns the cornering code <br>
//!           0 = Rounded  /   1 = Squared <br>
  Standard_EXPORT     Standard_Integer CorneringCode() const;
  //! returns the extension flag <br>
//! 0 = No extension <br>
//! 1 = One-half width extension <br>
//! 2 = Extension set by theExtnVal <br>
  Standard_EXPORT     Standard_Integer ExtensionFlag() const;
  //! returns the justification flag <br>
//! 0 = Centre justified <br>
//! 1 = Left justified <br>
//! 2 = Right justified <br>
  Standard_EXPORT     Standard_Integer JustificationFlag() const;
  //! returns the Extension Value <br>
//! Present only if theExtnFlag = 2 <br>
  Standard_EXPORT     Standard_Real ExtensionValue() const;




  DEFINE_STANDARD_RTTI(IGESAppli_LineWidening)

protected:




private: 


Standard_Integer theNbPropertyValues;
Standard_Real theWidth;
Standard_Integer theCorneringCode;
Standard_Integer theExtensionFlag;
Standard_Integer theJustificationFlag;
Standard_Real theExtensionValue;


};





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


#endif