/usr/include/oce/Prs2d_Dimension.lxx is in liboce-visualization-dev 0.9.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 | inline void Prs2d_Dimension::SetText(const TCollection_ExtendedString& aText)
{
myText = aText;
}
inline void Prs2d_Dimension::SetTextScale(const Standard_Real aTS)
{
myTextScale = aTS;
}
inline void Prs2d_Dimension::SetTextFont(const Standard_Integer aTF)
{
myTextFont = aTF;
}
inline void Prs2d_Dimension::SetFontOfSymb(const Standard_Integer aFS)
{
mySymbFont = aFS;
}
inline void Prs2d_Dimension::SetArrowType(const Prs2d_TypeOfArrow anArrT)
{
myArrType = anArrT;
}
inline void Prs2d_Dimension::SetArrowSides(const Prs2d_ArrowSide anArrS)
{
myArrow = anArrS;
}
inline void Prs2d_Dimension::DrawSymbol(const Standard_Boolean isDraw )
{
myIsSymbol = isDraw;
}
inline void Prs2d_Dimension::SetSymbolCode( const Standard_Integer aCode )
{
mySymbCode = aCode;
}
inline void Prs2d_Dimension::SetTextAbsAngle(const Standard_Real Ap)
{
myAbsAngle=Ap;
CalcTxtPos(Standard_True);
}
inline void Prs2d_Dimension::SetTextAbsPos(const Standard_Real Xp,
const Standard_Real Yp)
{
myAbsX=Xp;
myAbsY=Yp;
CalcTxtPos(Standard_True);
}
inline void Prs2d_Dimension::SetTextRelPos(const Standard_Real Xp,
const Standard_Real Yp)
{
myTextPosH=Xp;
myTextPosV=Yp;
CalcTxtPos();
}
inline void Prs2d_Dimension::SetTextRelAngle(const Standard_Real Ap)
{
myTextAngle=Ap;
CalcTxtPos();
}
inline TCollection_ExtendedString Prs2d_Dimension::Text() const
{
return myText;
}
inline Standard_Real Prs2d_Dimension::TextRelH() const
{
return myTextPosH;
}
inline Standard_Real Prs2d_Dimension::TextRelV() const
{
return myTextPosV;
}
inline Standard_Real Prs2d_Dimension::TextRelAngle() const
{
return myTextAngle;
}
inline Standard_Real Prs2d_Dimension::TextAbsAngle() const
{
return myAbsAngle;
}
inline Standard_Real Prs2d_Dimension::TextAbsX() const
{
return myAbsX;
}
inline Standard_Real Prs2d_Dimension::TextAbsY() const
{
return myAbsY;
}
inline Standard_Real Prs2d_Dimension::TextScale() const
{
return myTextScale;
}
inline Standard_Integer Prs2d_Dimension::TextFont() const
{
return myTextFont;
}
inline Standard_Integer Prs2d_Dimension::FontOfSymb() const
{
return mySymbFont;
}
inline Prs2d_TypeOfArrow Prs2d_Dimension::ArrowType() const
{
return myArrType;
}
inline Prs2d_ArrowSide Prs2d_Dimension::ArrowSides() const
{
return myArrow;
}
inline Standard_Real Prs2d_Dimension::ArrowAngle() const
{
return myArrowAng;
}
inline Standard_Real Prs2d_Dimension::ArrowLength() const
{
return myArrowLen;
}
inline Standard_Boolean Prs2d_Dimension::ArrowIsReversed() const
{
return myIsRevArr;
}
inline Standard_Boolean Prs2d_Dimension::IsDrawSymbol() const
{
return myIsSymbol;
}
inline Standard_Integer Prs2d_Dimension::SymbolCode() const
{
return mySymbCode;
}
|