0027961: Visualization - remove unused and no more working OpenGl_AVIWriter
[occt.git] / src / HLRBRep / HLRBRep_TheIntersectorOfTheIntConicCurveOfCInter.hxx
1 // Created on: 1992-10-14
2 // Created by: Christophe MARION
3 // Copyright (c) 1992-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
5 //
6 // This file is part of Open CASCADE Technology software library.
7 //
8 // This library is free software; you can redistribute it and/or modify it under
9 // the terms of the GNU Lesser General Public License version 2.1 as published
10 // by the Free Software Foundation, with special exception defined in the file
11 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
12 // distribution for complete text of the license and disclaimer of any warranty.
13 //
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
16
17 #ifndef _HLRBRep_TheIntersectorOfTheIntConicCurveOfCInter_HeaderFile
18 #define _HLRBRep_TheIntersectorOfTheIntConicCurveOfCInter_HeaderFile
19
20 #include <Standard.hxx>
21 #include <Standard_DefineAlloc.hxx>
22 #include <Standard_Handle.hxx>
23
24 #include <IntRes2d_Intersection.hxx>
25 #include <Standard_Address.hxx>
26 #include <Standard_Real.hxx>
27 #include <Standard_Integer.hxx>
28 #include <TColStd_Array1OfReal.hxx>
29 class Standard_ConstructionError;
30 class IntCurve_IConicTool;
31 class HLRBRep_CurveTool;
32 class HLRBRep_TheProjPCurOfCInter;
33 class HLRBRep_MyImpParToolOfTheIntersectorOfTheIntConicCurveOfCInter;
34 class IntRes2d_Domain;
35 class gp_Pnt2d;
36
37
38
39 class HLRBRep_TheIntersectorOfTheIntConicCurveOfCInter  : public IntRes2d_Intersection
40 {
41 public:
42
43   DEFINE_STANDARD_ALLOC
44
45   
46   //! Empty constructor.
47   Standard_EXPORT HLRBRep_TheIntersectorOfTheIntConicCurveOfCInter();
48   
49   //! Intersection between an implicit curve and
50   //! a parametrised curve.
51   //! The exception ConstructionError is raised if the domain
52   //! of the parametrised curve does not verify HasFirstPoint
53   //! and HasLastPoint return True.
54   Standard_EXPORT HLRBRep_TheIntersectorOfTheIntConicCurveOfCInter(const IntCurve_IConicTool& ITool, const IntRes2d_Domain& Dom1, const Standard_Address& PCurve, const IntRes2d_Domain& Dom2, const Standard_Real TolConf, const Standard_Real Tol);
55   
56   //! Intersection between an implicit curve and
57   //! a parametrised curve.
58   //! The exception ConstructionError is raised if the domain
59   //! of the parametrised curve does not verify HasFirstPoint
60   //! and HasLastPoint return True.
61   Standard_EXPORT void Perform (const IntCurve_IConicTool& ITool, const IntRes2d_Domain& Dom1, const Standard_Address& PCurve, const IntRes2d_Domain& Dom2, const Standard_Real TolConf, const Standard_Real Tol);
62   
63   Standard_EXPORT Standard_Real FindU (const Standard_Real parameter, gp_Pnt2d& point, const Standard_Address& TheParCurev, const IntCurve_IConicTool& TheImpTool) const;
64   
65   Standard_EXPORT Standard_Real FindV (const Standard_Real parameter, gp_Pnt2d& point, const IntCurve_IConicTool& TheImpTool, const Standard_Address& ParCurve, const IntRes2d_Domain& TheParCurveDomain, const Standard_Real V0, const Standard_Real V1, const Standard_Real Tolerance) const;
66   
67   Standard_EXPORT void And_Domaine_Objet1_Intersections (const IntCurve_IConicTool& TheImpTool, const Standard_Address& TheParCurve, const IntRes2d_Domain& TheImpCurveDomain, const IntRes2d_Domain& TheParCurveDomain, Standard_Integer& NbResultats, TColStd_Array1OfReal& Inter2_And_Domain2, TColStd_Array1OfReal& Inter1, TColStd_Array1OfReal& Resultat1, TColStd_Array1OfReal& Resultat2, const Standard_Real EpsNul) const;
68
69
70
71
72 protected:
73
74
75
76
77
78 private:
79
80
81
82
83
84 };
85
86
87
88
89
90
91
92 #endif // _HLRBRep_TheIntersectorOfTheIntConicCurveOfCInter_HeaderFile