File indexing completed on 2025-01-18 10:03:59
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _IGESDimen_FlagNote_HeaderFile
0018 #define _IGESDimen_FlagNote_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_Type.hxx>
0022
0023 #include <gp_XYZ.hxx>
0024 #include <IGESDimen_HArray1OfLeaderArrow.hxx>
0025 #include <IGESData_IGESEntity.hxx>
0026 #include <Standard_Integer.hxx>
0027 class IGESDimen_GeneralNote;
0028 class gp_Pnt;
0029 class IGESDimen_LeaderArrow;
0030
0031
0032 class IGESDimen_FlagNote;
0033 DEFINE_STANDARD_HANDLE(IGESDimen_FlagNote, IGESData_IGESEntity)
0034
0035
0036
0037
0038 class IGESDimen_FlagNote : public IGESData_IGESEntity
0039 {
0040
0041 public:
0042
0043
0044 Standard_EXPORT IGESDimen_FlagNote();
0045
0046
0047
0048
0049
0050
0051
0052 Standard_EXPORT void Init (const gp_XYZ& leftCorner, const Standard_Real anAngle, const Handle(IGESDimen_GeneralNote)& aNote, const Handle(IGESDimen_HArray1OfLeaderArrow)& someLeaders);
0053
0054
0055 Standard_EXPORT gp_Pnt LowerLeftCorner() const;
0056
0057
0058
0059 Standard_EXPORT gp_Pnt TransformedLowerLeftCorner() const;
0060
0061
0062 Standard_EXPORT Standard_Real Angle() const;
0063
0064
0065 Standard_EXPORT Handle(IGESDimen_GeneralNote) Note() const;
0066
0067
0068 Standard_EXPORT Standard_Integer NbLeaders() const;
0069
0070
0071
0072 Standard_EXPORT Handle(IGESDimen_LeaderArrow) Leader (const Standard_Integer Index) const;
0073
0074
0075
0076 Standard_EXPORT Standard_Real Height() const;
0077
0078
0079 Standard_EXPORT Standard_Real CharacterHeight() const;
0080
0081
0082
0083
0084 Standard_EXPORT Standard_Real Length() const;
0085
0086
0087 Standard_EXPORT Standard_Real TextWidth() const;
0088
0089
0090
0091 Standard_EXPORT Standard_Real TipLength() const;
0092
0093
0094
0095
0096 DEFINE_STANDARD_RTTIEXT(IGESDimen_FlagNote,IGESData_IGESEntity)
0097
0098 protected:
0099
0100
0101
0102
0103 private:
0104
0105
0106 gp_XYZ theLowerLeftcorner;
0107 Standard_Real theAngle;
0108 Handle(IGESDimen_GeneralNote) theNote;
0109 Handle(IGESDimen_HArray1OfLeaderArrow) theLeaders;
0110
0111
0112 };
0113
0114
0115
0116
0117
0118
0119
0120 #endif