blob: 5728c08ecbe98f14a7c725a4bd491b8c122b5e32 (
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
|
// 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_LinearDimension_HeaderFile
#define _IGESDimen_LinearDimension_HeaderFile
#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_IGESDimen_LinearDimension_HeaderFile
#include <Handle_IGESDimen_LinearDimension.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_IGESDimen_WitnessLine_HeaderFile
#include <Handle_IGESDimen_WitnessLine.hxx>
#endif
#ifndef _IGESData_IGESEntity_HeaderFile
#include <IGESData_IGESEntity.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
#ifndef _Standard_Boolean_HeaderFile
#include <Standard_Boolean.hxx>
#endif
class IGESDimen_GeneralNote;
class IGESDimen_LeaderArrow;
class IGESDimen_WitnessLine;
class Standard_OutOfRange;
//! defines LinearDimension, Type <216> Form <0> <br>
//! in package IGESDimen <br>
//! Used for linear dimensioning <br>
class IGESDimen_LinearDimension : public IGESData_IGESEntity {
public:
Standard_EXPORT IGESDimen_LinearDimension();
//! This method is used to set the fields of the class <br>
//! LinearDimension <br>
//! - aNote : General Note Entity <br>
//! - aLeader : First Leader Entity <br>
//! - anotherLeader : Second Leader Entity <br>
//! - aWitness : First Witness Line Entity or a Null <br>
//! Handle <br>
//! - anotherWitness : Second Witness Line Entity or a Null <br>
//! Handle <br>
Standard_EXPORT void Init(const Handle(IGESDimen_GeneralNote)& aNote,const Handle(IGESDimen_LeaderArrow)& aLeader,const Handle(IGESDimen_LeaderArrow)& anotherLeader,const Handle(IGESDimen_WitnessLine)& aWitness,const Handle(IGESDimen_WitnessLine)& anotherWitness) ;
//! Changes FormNumber (indicates the Nature of the Dimension <br>
//! Unspecified, Diameter or Radius) <br>
//! Error if not in range [0-2] <br>
Standard_EXPORT void SetFormNumber(const Standard_Integer form) ;
//! returns General Note Entity <br>
Standard_EXPORT Handle_IGESDimen_GeneralNote Note() const;
//! returns first Leader Entity <br>
Standard_EXPORT Handle_IGESDimen_LeaderArrow FirstLeader() const;
//! returns second Leader Entity <br>
Standard_EXPORT Handle_IGESDimen_LeaderArrow SecondLeader() const;
//! returns False if no first witness line <br>
Standard_EXPORT Standard_Boolean HasFirstWitness() const;
//! returns first Witness Line Entity or a Null Handle <br>
Standard_EXPORT Handle_IGESDimen_WitnessLine FirstWitness() const;
//! returns False if no second witness line <br>
Standard_EXPORT Standard_Boolean HasSecondWitness() const;
//! returns second Witness Line Entity or a Null Handle <br>
Standard_EXPORT Handle_IGESDimen_WitnessLine SecondWitness() const;
DEFINE_STANDARD_RTTI(IGESDimen_LinearDimension)
protected:
private:
Handle_IGESDimen_GeneralNote theNote;
Handle_IGESDimen_LeaderArrow theFirstLeader;
Handle_IGESDimen_LeaderArrow theSecondLeader;
Handle_IGESDimen_WitnessLine theFirstWitness;
Handle_IGESDimen_WitnessLine theSecondWitness;
};
// other Inline functions and methods (like "C++: function call" methods)
#endif
|