0026377: Passing Handle objects as arguments to functions as non-const reference...
[occt.git] / src / Geom2dInt / Geom2dInt_IntConicCurveOfGInter.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_IntConicCurveOfGInter_HeaderFile
18#define _Geom2dInt_IntConicCurveOfGInter_HeaderFile
19
20#include <Standard.hxx>
21#include <Standard_DefineAlloc.hxx>
22#include <Standard_Handle.hxx>
23
24#include <Standard_Real.hxx>
25#include <IntCurve_IntConicConic.hxx>
26#include <Geom2dInt_TheIntConicCurveOfGInter.hxx>
27#include <IntRes2d_Intersection.hxx>
28#include <Standard_Boolean.hxx>
29class Standard_ConstructionError;
30class IntCurve_IConicTool;
31class Adaptor2d_Curve2d;
32class Geom2dInt_Geom2dCurveTool;
33class Geom2dInt_TheIntConicCurveOfGInter;
34class gp_Lin2d;
35class IntRes2d_Domain;
36class gp_Circ2d;
37class gp_Elips2d;
38class gp_Parab2d;
39class gp_Hypr2d;
40
41
42
43class Geom2dInt_IntConicCurveOfGInter : public IntRes2d_Intersection
44{
45public:
46
47 DEFINE_STANDARD_ALLOC
48
49
36b9ff75 50 //! Empty constructor.
42cf5bc1 51 Standard_EXPORT Geom2dInt_IntConicCurveOfGInter();
52
36b9ff75 53 //! Intersection between a line and a parametric curve.
42cf5bc1 54 Standard_EXPORT Geom2dInt_IntConicCurveOfGInter(const gp_Lin2d& L, const IntRes2d_Domain& D1, const Adaptor2d_Curve2d& PCurve, const IntRes2d_Domain& D2, const Standard_Real TolConf, const Standard_Real Tol);
55
36b9ff75 56 //! Intersection between a line and a parametric curve.
42cf5bc1 57 Standard_EXPORT Geom2dInt_IntConicCurveOfGInter(const gp_Circ2d& C, const IntRes2d_Domain& D1, const Adaptor2d_Curve2d& PCurve, const IntRes2d_Domain& D2, const Standard_Real TolConf, const Standard_Real Tol);
58
36b9ff75 59 //! Intersection between an ellipse and a parametric curve.
42cf5bc1 60 Standard_EXPORT Geom2dInt_IntConicCurveOfGInter(const gp_Elips2d& E, const IntRes2d_Domain& D1, const Adaptor2d_Curve2d& PCurve, const IntRes2d_Domain& D2, const Standard_Real TolConf, const Standard_Real Tol);
61
36b9ff75 62 //! Intersection between a parabola and a parametric curve.
42cf5bc1 63 Standard_EXPORT Geom2dInt_IntConicCurveOfGInter(const gp_Parab2d& Prb, const IntRes2d_Domain& D1, const Adaptor2d_Curve2d& PCurve, const IntRes2d_Domain& D2, const Standard_Real TolConf, const Standard_Real Tol);
64
36b9ff75 65 //! Intersection between the main branch of an hyperbola
66 //! and a parametric curve.
42cf5bc1 67 Standard_EXPORT Geom2dInt_IntConicCurveOfGInter(const gp_Hypr2d& H, const IntRes2d_Domain& D1, const Adaptor2d_Curve2d& PCurve, const IntRes2d_Domain& D2, const Standard_Real TolConf, const Standard_Real Tol);
68
36b9ff75 69 //! Intersection between a line and a parametric curve.
42cf5bc1 70 Standard_EXPORT 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);
71
36b9ff75 72 //! Intersection between a line and a parametric curve.
42cf5bc1 73 Standard_EXPORT 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);
74
36b9ff75 75 //! Intersection between an ellipse and a parametric curve.
42cf5bc1 76 Standard_EXPORT 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);
77
36b9ff75 78 //! Intersection between a parabola and a parametric curve.
42cf5bc1 79 Standard_EXPORT 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);
80
36b9ff75 81 //! Intersection between the main branch of an hyperbola
82 //! and a parametric curve.
42cf5bc1 83 Standard_EXPORT 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);
84
85
86
87
88protected:
89
90
91
92
93
94private:
95
96
97 Standard_EXPORT void InternalPerform (const gp_Lin2d& Lin1, const IntRes2d_Domain& D1, const Adaptor2d_Curve2d& PCurve, const IntRes2d_Domain& D2, const Standard_Real TolConf, const Standard_Real Tol, const Standard_Boolean Composite);
98
99 Standard_EXPORT void InternalPerform (const gp_Circ2d& Circ1, const IntRes2d_Domain& D1, const Adaptor2d_Curve2d& PCurve, const IntRes2d_Domain& D2, const Standard_Real TolConf, const Standard_Real Tol, const Standard_Boolean Composite);
100
101 Standard_EXPORT void InternalPerform (const gp_Elips2d& Eli1, const IntRes2d_Domain& D1, const Adaptor2d_Curve2d& PCurve, const IntRes2d_Domain& D2, const Standard_Real TolConf, const Standard_Real Tol, const Standard_Boolean Composite);
102
103 Standard_EXPORT void InternalPerform (const gp_Parab2d& Prb1, const IntRes2d_Domain& D1, const Adaptor2d_Curve2d& PCurve, const IntRes2d_Domain& D2, const Standard_Real TolConf, const Standard_Real Tol, const Standard_Boolean Composite);
104
105 Standard_EXPORT void InternalPerform (const gp_Hypr2d& Hpr1, const IntRes2d_Domain& D1, const Adaptor2d_Curve2d& PCurve, const IntRes2d_Domain& D2, const Standard_Real TolConf, const Standard_Real Tol, const Standard_Boolean Composite);
106
107
108 Standard_Real param1inf;
109 Standard_Real param1sup;
110 Standard_Real param2inf;
111 Standard_Real param2sup;
112 IntCurve_IntConicConic intconiconi;
113 Geom2dInt_TheIntConicCurveOfGInter intconicurv;
114
115
116};
117
118
119
120
121
122
123
124#endif // _Geom2dInt_IntConicCurveOfGInter_HeaderFile