File indexing completed on 2026-09-17 09:21:03
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017 #ifndef _IntCurve_PConic_HeaderFile
0018 #define _IntCurve_PConic_HeaderFile
0019
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022
0023 #include <gp_Ax22d.hxx>
0024 #include <Standard_Integer.hxx>
0025 #include <GeomAbs_CurveType.hxx>
0026 class gp_Elips2d;
0027 class gp_Circ2d;
0028 class gp_Parab2d;
0029 class gp_Hypr2d;
0030 class gp_Lin2d;
0031
0032
0033
0034
0035 class IntCurve_PConic
0036 {
0037 public:
0038 DEFINE_STANDARD_ALLOC
0039
0040 Standard_EXPORT IntCurve_PConic(const IntCurve_PConic& PC);
0041
0042 Standard_EXPORT IntCurve_PConic(const gp_Elips2d& E);
0043
0044 Standard_EXPORT IntCurve_PConic(const gp_Circ2d& C);
0045
0046 Standard_EXPORT IntCurve_PConic(const gp_Parab2d& P);
0047
0048 Standard_EXPORT IntCurve_PConic(const gp_Hypr2d& H);
0049
0050 Standard_EXPORT IntCurve_PConic(const gp_Lin2d& L);
0051
0052
0053
0054
0055 Standard_EXPORT void SetEpsX(const double EpsDist);
0056
0057
0058
0059 Standard_EXPORT void SetAccuracy(const int Nb);
0060
0061 int Accuracy() const;
0062
0063 double EpsX() const;
0064
0065
0066
0067
0068 GeomAbs_CurveType TypeCurve() const;
0069
0070 const gp_Ax22d& Axis2() const;
0071
0072 double Param1() const;
0073
0074 double Param2() const;
0075
0076 private:
0077 gp_Ax22d axe;
0078 double prm1;
0079 double prm2;
0080 double TheEpsX;
0081 int TheAccuracy;
0082 GeomAbs_CurveType type;
0083 };
0084
0085 #include <IntCurve_PConic.lxx>
0086
0087 #endif