Back to home page

EIC code displayed by LXR

 
 

    


Warning, file /include/opencascade/HLRBRep_TheIntersectorOfTheIntConicCurveOfCInter.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-10-14
0002 // Created by: Christophe MARION
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 _HLRBRep_TheIntersectorOfTheIntConicCurveOfCInter_HeaderFile
0018 #define _HLRBRep_TheIntersectorOfTheIntConicCurveOfCInter_HeaderFile
0019 
0020 #include <Standard.hxx>
0021 #include <Standard_DefineAlloc.hxx>
0022 
0023 #include <HLRBRep_TypeDef.hxx>
0024 #include <IntRes2d_Intersection.hxx>
0025 #include <Standard_Integer.hxx>
0026 #include <NCollection_Array1.hxx>
0027 class Standard_ConstructionError;
0028 class IntCurve_IConicTool;
0029 class HLRBRep_CurveTool;
0030 class HLRBRep_TheProjPCurOfCInter;
0031 class HLRBRep_MyImpParToolOfTheIntersectorOfTheIntConicCurveOfCInter;
0032 class IntRes2d_Domain;
0033 class gp_Pnt2d;
0034 
0035 class HLRBRep_TheIntersectorOfTheIntConicCurveOfCInter : public IntRes2d_Intersection
0036 {
0037 public:
0038   DEFINE_STANDARD_ALLOC
0039 
0040   //! Empty constructor.
0041   Standard_EXPORT HLRBRep_TheIntersectorOfTheIntConicCurveOfCInter();
0042 
0043   //! Intersection between an implicit curve and
0044   //! a parametrised curve.
0045   //! The exception ConstructionError is raised if the domain
0046   //! of the parametrised curve does not verify HasFirstPoint
0047   //! and HasLastPoint return True.
0048   Standard_EXPORT HLRBRep_TheIntersectorOfTheIntConicCurveOfCInter(const IntCurve_IConicTool& ITool,
0049                                                                    const IntRes2d_Domain&     Dom1,
0050                                                                    const HLRBRep_CurvePtr& PCurve,
0051                                                                    const IntRes2d_Domain&  Dom2,
0052                                                                    const double            TolConf,
0053                                                                    const double            Tol);
0054 
0055   //! Intersection between an implicit curve and
0056   //! a parametrised curve.
0057   //! The exception ConstructionError is raised if the domain
0058   //! of the parametrised curve does not verify HasFirstPoint
0059   //! and HasLastPoint return True.
0060   Standard_EXPORT void Perform(const IntCurve_IConicTool& ITool,
0061                                const IntRes2d_Domain&     Dom1,
0062                                const HLRBRep_CurvePtr&    PCurve,
0063                                const IntRes2d_Domain&     Dom2,
0064                                const double               TolConf,
0065                                const double               Tol);
0066 
0067   Standard_EXPORT double FindU(const double               parameter,
0068                                gp_Pnt2d&                  point,
0069                                const HLRBRep_CurvePtr&    TheParCurev,
0070                                const IntCurve_IConicTool& TheImpTool) const;
0071 
0072   Standard_EXPORT double FindV(const double               parameter,
0073                                gp_Pnt2d&                  point,
0074                                const IntCurve_IConicTool& TheImpTool,
0075                                const HLRBRep_CurvePtr&    ParCurve,
0076                                const IntRes2d_Domain&     TheParCurveDomain,
0077                                const double               V0,
0078                                const double               V1,
0079                                const double               Tolerance) const;
0080 
0081   Standard_EXPORT void And_Domaine_Objet1_Intersections(
0082     const IntCurve_IConicTool&  TheImpTool,
0083     const HLRBRep_CurvePtr&     TheParCurve,
0084     const IntRes2d_Domain&      TheImpCurveDomain,
0085     const IntRes2d_Domain&      TheParCurveDomain,
0086     int&                        NbResultats,
0087     NCollection_Array1<double>& Inter2_And_Domain2,
0088     NCollection_Array1<double>& Inter1,
0089     NCollection_Array1<double>& Resultat1,
0090     NCollection_Array1<double>& Resultat2,
0091     const double                EpsNul) const;
0092 };
0093 
0094 #endif // _HLRBRep_TheIntersectorOfTheIntConicCurveOfCInter_HeaderFile