Warnings on vc14 were eliminated
[occt.git] / src / Geom2dInt / Geom2dInt_TheIntConicCurveOfGInter.hxx
CommitLineData
42cf5bc1 1// Created on: 1992-06-04
2// Created by: Jacques GOUSSARD
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 _Geom2dInt_TheIntConicCurveOfGInter_HeaderFile
18#define _Geom2dInt_TheIntConicCurveOfGInter_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_Real.hxx>
26class IntCurve_IConicTool;
27class Adaptor2d_Curve2d;
28class Geom2dInt_Geom2dCurveTool;
29class Geom2dInt_TheProjPCurOfGInter;
30class Geom2dInt_TheIntersectorOfTheIntConicCurveOfGInter;
31class Geom2dInt_MyImpParToolOfTheIntersectorOfTheIntConicCurveOfGInter;
32class gp_Lin2d;
33class IntRes2d_Domain;
34class gp_Circ2d;
35class gp_Elips2d;
36class gp_Parab2d;
37class gp_Hypr2d;
38
39
40
41class Geom2dInt_TheIntConicCurveOfGInter : public IntRes2d_Intersection
42{
43public:
44
45 DEFINE_STANDARD_ALLOC
46
47
36b9ff75 48 //! Empty constructor.
42cf5bc1 49 Geom2dInt_TheIntConicCurveOfGInter();
50
36b9ff75 51 //! Intersection between a line and a parametric curve.
42cf5bc1 52 Geom2dInt_TheIntConicCurveOfGInter(const gp_Lin2d& L, const IntRes2d_Domain& D1, const Adaptor2d_Curve2d& PCurve, const IntRes2d_Domain& D2, const Standard_Real TolConf, const Standard_Real Tol);
53
36b9ff75 54 //! Intersection between a line and a parametric curve.
42cf5bc1 55 Standard_EXPORT Geom2dInt_TheIntConicCurveOfGInter(const gp_Circ2d& C, const IntRes2d_Domain& D1, const Adaptor2d_Curve2d& PCurve, const IntRes2d_Domain& D2, const Standard_Real TolConf, const Standard_Real Tol);
56
36b9ff75 57 //! Intersection between an ellipse and a parametric curve.
42cf5bc1 58 Standard_EXPORT Geom2dInt_TheIntConicCurveOfGInter(const gp_Elips2d& E, const IntRes2d_Domain& D1, const Adaptor2d_Curve2d& PCurve, const IntRes2d_Domain& D2, const Standard_Real TolConf, const Standard_Real Tol);
59
36b9ff75 60 //! Intersection between a parabola and a parametric curve.
42cf5bc1 61 Standard_EXPORT Geom2dInt_TheIntConicCurveOfGInter(const gp_Parab2d& Prb, const IntRes2d_Domain& D1, const Adaptor2d_Curve2d& PCurve, const IntRes2d_Domain& D2, const Standard_Real TolConf, const Standard_Real Tol);
62
36b9ff75 63 //! Intersection between the main branch of an hyperbola
64 //! and a parametric curve.
42cf5bc1 65 Standard_EXPORT Geom2dInt_TheIntConicCurveOfGInter(const gp_Hypr2d& H, const IntRes2d_Domain& D1, const Adaptor2d_Curve2d& PCurve, const IntRes2d_Domain& D2, const Standard_Real TolConf, const Standard_Real Tol);
66
36b9ff75 67 //! Intersection between a line and a parametric curve.
42cf5bc1 68 void Perform (const gp_Lin2d& L, const IntRes2d_Domain& D1, const Adaptor2d_Curve2d& PCurve, const IntRes2d_Domain& D2, const Standard_Real TolConf, const Standard_Real Tol);
69
36b9ff75 70 //! Intersection between a line and a parametric curve.
42cf5bc1 71 void Perform (const gp_Circ2d& C, const IntRes2d_Domain& D1, const Adaptor2d_Curve2d& PCurve, const IntRes2d_Domain& D2, const Standard_Real TolConf, const Standard_Real Tol);
72
36b9ff75 73 //! Intersection between an ellipse and a parametric curve.
42cf5bc1 74 void Perform (const gp_Elips2d& E, const IntRes2d_Domain& D1, const Adaptor2d_Curve2d& PCurve, const IntRes2d_Domain& D2, const Standard_Real TolConf, const Standard_Real Tol);
75
36b9ff75 76 //! Intersection between a parabola and a parametric curve.
42cf5bc1 77 void Perform (const gp_Parab2d& Prb, const IntRes2d_Domain& D1, const Adaptor2d_Curve2d& PCurve, const IntRes2d_Domain& D2, const Standard_Real TolConf, const Standard_Real Tol);
78
36b9ff75 79 //! Intersection between the main branch of an hyperbola
80 //! and a parametric curve.
42cf5bc1 81 void Perform (const gp_Hypr2d& H, const IntRes2d_Domain& D1, const Adaptor2d_Curve2d& PCurve, const IntRes2d_Domain& D2, const Standard_Real TolConf, const Standard_Real Tol);
82
83
84
85
86protected:
87
88
89
90
91
92private:
93
94
36b9ff75 95 //! Intersection between a conic fom gp
96 //! and a parametric curve.
42cf5bc1 97 void Perform (const IntCurve_IConicTool& ICurve, const IntRes2d_Domain& D1, const Adaptor2d_Curve2d& PCurve, const IntRes2d_Domain& D2, const Standard_Real TolConf, const Standard_Real Tol);
98
99
100
101
102};
103
104#define TheImpTool IntCurve_IConicTool
105#define TheImpTool_hxx <IntCurve_IConicTool.hxx>
106#define ThePCurve Adaptor2d_Curve2d
107#define ThePCurve_hxx <Adaptor2d_Curve2d.hxx>
108#define ThePCurveTool Geom2dInt_Geom2dCurveTool
109#define ThePCurveTool_hxx <Geom2dInt_Geom2dCurveTool.hxx>
110#define TheProjPCur Geom2dInt_TheProjPCurOfGInter
111#define TheProjPCur_hxx <Geom2dInt_TheProjPCurOfGInter.hxx>
112#define IntCurve_TheIntersector Geom2dInt_TheIntersectorOfTheIntConicCurveOfGInter
113#define IntCurve_TheIntersector_hxx <Geom2dInt_TheIntersectorOfTheIntConicCurveOfGInter.hxx>
114#define IntCurve_MyImpParToolOfTheIntersector Geom2dInt_MyImpParToolOfTheIntersectorOfTheIntConicCurveOfGInter
115#define IntCurve_MyImpParToolOfTheIntersector_hxx <Geom2dInt_MyImpParToolOfTheIntersectorOfTheIntConicCurveOfGInter.hxx>
116#define IntCurve_MyImpParToolOfTheIntersector Geom2dInt_MyImpParToolOfTheIntersectorOfTheIntConicCurveOfGInter
117#define IntCurve_MyImpParToolOfTheIntersector_hxx <Geom2dInt_MyImpParToolOfTheIntersectorOfTheIntConicCurveOfGInter.hxx>
118#define IntCurve_IntConicCurveGen Geom2dInt_TheIntConicCurveOfGInter
119#define IntCurve_IntConicCurveGen_hxx <Geom2dInt_TheIntConicCurveOfGInter.hxx>
120
121#include <IntCurve_IntConicCurveGen.lxx>
122
123#undef TheImpTool
124#undef TheImpTool_hxx
125#undef ThePCurve
126#undef ThePCurve_hxx
127#undef ThePCurveTool
128#undef ThePCurveTool_hxx
129#undef TheProjPCur
130#undef TheProjPCur_hxx
131#undef IntCurve_TheIntersector
132#undef IntCurve_TheIntersector_hxx
133#undef IntCurve_MyImpParToolOfTheIntersector
134#undef IntCurve_MyImpParToolOfTheIntersector_hxx
135#undef IntCurve_MyImpParToolOfTheIntersector
136#undef IntCurve_MyImpParToolOfTheIntersector_hxx
137#undef IntCurve_IntConicCurveGen
138#undef IntCurve_IntConicCurveGen_hxx
139
140
141
142
143#endif // _Geom2dInt_TheIntConicCurveOfGInter_HeaderFile