File indexing completed on 2025-01-18 10:03:38
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016 #ifndef _GeometryTest_DrawableQualifiedCirc_HeaderFile
0017 #define _GeometryTest_DrawableQualifiedCirc_HeaderFile
0018
0019 #include <Standard.hxx>
0020 #include <DrawTrSurf_Curve2d.hxx>
0021 #include <GccEnt_Position.hxx>
0022
0023 class Geom2d_Curve;
0024
0025 class GeometryTest_DrawableQualifiedCurve2d;
0026 DEFINE_STANDARD_HANDLE(GeometryTest_DrawableQualifiedCurve2d, DrawTrSurf_Curve)
0027
0028
0029 class GeometryTest_DrawableQualifiedCurve2d : public DrawTrSurf_Curve2d
0030 {
0031
0032 public:
0033
0034
0035
0036 Standard_EXPORT GeometryTest_DrawableQualifiedCurve2d (const Handle(Geom2d_Curve)& theCurve,
0037 const GccEnt_Position thePosition,
0038 const Standard_Boolean theDispOrigin = Standard_True);
0039
0040
0041 Standard_EXPORT GeometryTest_DrawableQualifiedCurve2d (const Handle(Geom2d_Curve)& theCurve,
0042 const Draw_Color& theColor,
0043 const Standard_Integer theDiscret,
0044 const GccEnt_Position thePosition,
0045 const Standard_Boolean theDispOrigin = Standard_True,
0046 const Standard_Boolean theDispCurvRadius = Standard_False,
0047 const Standard_Real theRadiusMax = 1.0e3,
0048 const Standard_Real theRatioOfRadius = 0.1);
0049
0050
0051 GccEnt_Position GetPosition() const { return myPosition; }
0052
0053
0054
0055 void SetPosition (const GccEnt_Position thePosition) { myPosition = thePosition; }
0056
0057
0058
0059 Standard_EXPORT void DrawOn (Draw_Display& theDisplay) const Standard_OVERRIDE;
0060
0061
0062 Standard_EXPORT virtual void Dump (Standard_OStream& S) const Standard_OVERRIDE;
0063
0064
0065
0066 Standard_EXPORT virtual void Whatis (Draw_Interpretor& I) const Standard_OVERRIDE;
0067
0068 DEFINE_STANDARD_RTTIEXT(GeometryTest_DrawableQualifiedCurve2d, DrawTrSurf_Curve2d)
0069
0070 protected:
0071
0072
0073
0074
0075 private:
0076
0077
0078 GccEnt_Position myPosition;
0079
0080 };
0081
0082
0083
0084
0085
0086
0087
0088 #endif