Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/opencascade/Geom2dInt_IntConicCurveOfGInter.hxx was not indexed or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).

0001 // Created on: 1992-06-04
0002 // Created by: Jacques GOUSSARD
0003 // Copyright (c) 1992-1999 Matra Datavision
0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #ifndef _Geom2dInt_IntConicCurveOfGInter_HeaderFile
0018 #define _Geom2dInt_IntConicCurveOfGInter_HeaderFile
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 
0023 #include <IntCurve_IntConicConic.hxx>
0024 #include <Geom2dInt_TheIntConicCurveOfGInter.hxx>
0025 #include <IntRes2d_Intersection.hxx>
0026 class Standard_ConstructionError;
0027 class IntCurve_IConicTool;
0028 class Adaptor2d_Curve2d;
0029 class Geom2dInt_Geom2dCurveTool;
0030 class Geom2dInt_TheIntConicCurveOfGInter;
0031 class gp_Lin2d;
0032 class IntRes2d_Domain;
0033 class gp_Circ2d;
0034 class gp_Elips2d;
0035 class gp_Parab2d;
0036 class gp_Hypr2d;
0037 
0038 class Geom2dInt_IntConicCurveOfGInter : public IntRes2d_Intersection
0039 {
0040 public:
0041   DEFINE_STANDARD_ALLOC
0042 
0043   //! Empty constructor.
0044   Standard_EXPORT Geom2dInt_IntConicCurveOfGInter();
0045 
0046   //! Intersection between a line and a parametric curve.
0047   Standard_EXPORT Geom2dInt_IntConicCurveOfGInter(const gp_Lin2d&          L,
0048                                                   const IntRes2d_Domain&   D1,
0049                                                   const Adaptor2d_Curve2d& PCurve,
0050                                                   const IntRes2d_Domain&   D2,
0051                                                   const double             TolConf,
0052                                                   const double             Tol);
0053 
0054   //! Intersection between a line and a parametric curve.
0055   Standard_EXPORT Geom2dInt_IntConicCurveOfGInter(const gp_Circ2d&         C,
0056                                                   const IntRes2d_Domain&   D1,
0057                                                   const Adaptor2d_Curve2d& PCurve,
0058                                                   const IntRes2d_Domain&   D2,
0059                                                   const double             TolConf,
0060                                                   const double             Tol);
0061 
0062   //! Intersection between an ellipse and a parametric curve.
0063   Standard_EXPORT Geom2dInt_IntConicCurveOfGInter(const gp_Elips2d&        E,
0064                                                   const IntRes2d_Domain&   D1,
0065                                                   const Adaptor2d_Curve2d& PCurve,
0066                                                   const IntRes2d_Domain&   D2,
0067                                                   const double             TolConf,
0068                                                   const double             Tol);
0069 
0070   //! Intersection between a parabola and a parametric curve.
0071   Standard_EXPORT Geom2dInt_IntConicCurveOfGInter(const gp_Parab2d&        Prb,
0072                                                   const IntRes2d_Domain&   D1,
0073                                                   const Adaptor2d_Curve2d& PCurve,
0074                                                   const IntRes2d_Domain&   D2,
0075                                                   const double             TolConf,
0076                                                   const double             Tol);
0077 
0078   //! Intersection between the main branch of an hyperbola
0079   //! and a parametric curve.
0080   Standard_EXPORT Geom2dInt_IntConicCurveOfGInter(const gp_Hypr2d&         H,
0081                                                   const IntRes2d_Domain&   D1,
0082                                                   const Adaptor2d_Curve2d& PCurve,
0083                                                   const IntRes2d_Domain&   D2,
0084                                                   const double             TolConf,
0085                                                   const double             Tol);
0086 
0087   //! Intersection between a line and a parametric curve.
0088   Standard_EXPORT void Perform(const gp_Lin2d&          L,
0089                                const IntRes2d_Domain&   D1,
0090                                const Adaptor2d_Curve2d& PCurve,
0091                                const IntRes2d_Domain&   D2,
0092                                const double             TolConf,
0093                                const double             Tol);
0094 
0095   //! Intersection between a line and a parametric curve.
0096   Standard_EXPORT void Perform(const gp_Circ2d&         C,
0097                                const IntRes2d_Domain&   D1,
0098                                const Adaptor2d_Curve2d& PCurve,
0099                                const IntRes2d_Domain&   D2,
0100                                const double             TolConf,
0101                                const double             Tol);
0102 
0103   //! Intersection between an ellipse and a parametric curve.
0104   Standard_EXPORT void Perform(const gp_Elips2d&        E,
0105                                const IntRes2d_Domain&   D1,
0106                                const Adaptor2d_Curve2d& PCurve,
0107                                const IntRes2d_Domain&   D2,
0108                                const double             TolConf,
0109                                const double             Tol);
0110 
0111   //! Intersection between a parabola and a parametric curve.
0112   Standard_EXPORT void Perform(const gp_Parab2d&        Prb,
0113                                const IntRes2d_Domain&   D1,
0114                                const Adaptor2d_Curve2d& PCurve,
0115                                const IntRes2d_Domain&   D2,
0116                                const double             TolConf,
0117                                const double             Tol);
0118 
0119   //! Intersection between the main branch of an hyperbola
0120   //! and a parametric curve.
0121   Standard_EXPORT void Perform(const gp_Hypr2d&         H,
0122                                const IntRes2d_Domain&   D1,
0123                                const Adaptor2d_Curve2d& PCurve,
0124                                const IntRes2d_Domain&   D2,
0125                                const double             TolConf,
0126                                const double             Tol);
0127 
0128 private:
0129   Standard_EXPORT void InternalPerform(const gp_Lin2d&          Lin1,
0130                                        const IntRes2d_Domain&   D1,
0131                                        const Adaptor2d_Curve2d& PCurve,
0132                                        const IntRes2d_Domain&   D2,
0133                                        const double             TolConf,
0134                                        const double             Tol,
0135                                        const bool               Composite);
0136 
0137   Standard_EXPORT void InternalPerform(const gp_Circ2d&         Circ1,
0138                                        const IntRes2d_Domain&   D1,
0139                                        const Adaptor2d_Curve2d& PCurve,
0140                                        const IntRes2d_Domain&   D2,
0141                                        const double             TolConf,
0142                                        const double             Tol,
0143                                        const bool               Composite);
0144 
0145   Standard_EXPORT void InternalPerform(const gp_Elips2d&        Eli1,
0146                                        const IntRes2d_Domain&   D1,
0147                                        const Adaptor2d_Curve2d& PCurve,
0148                                        const IntRes2d_Domain&   D2,
0149                                        const double             TolConf,
0150                                        const double             Tol,
0151                                        const bool               Composite);
0152 
0153   Standard_EXPORT void InternalPerform(const gp_Parab2d&        Prb1,
0154                                        const IntRes2d_Domain&   D1,
0155                                        const Adaptor2d_Curve2d& PCurve,
0156                                        const IntRes2d_Domain&   D2,
0157                                        const double             TolConf,
0158                                        const double             Tol,
0159                                        const bool               Composite);
0160 
0161   Standard_EXPORT void InternalPerform(const gp_Hypr2d&         Hpr1,
0162                                        const IntRes2d_Domain&   D1,
0163                                        const Adaptor2d_Curve2d& PCurve,
0164                                        const IntRes2d_Domain&   D2,
0165                                        const double             TolConf,
0166                                        const double             Tol,
0167                                        const bool               Composite);
0168 
0169   double                             param1inf;
0170   double                             param1sup;
0171   double                             param2inf;
0172   double                             param2sup;
0173   IntCurve_IntConicConic             intconiconi;
0174   Geom2dInt_TheIntConicCurveOfGInter intconicurv;
0175 };
0176 
0177 #endif // _Geom2dInt_IntConicCurveOfGInter_HeaderFile