summaryrefslogtreecommitdiff
path: root/inc/IntCurve_IntConicConic.hxx
blob: a039c67a4c9dc2b77723efeae0f73d4f9bbb55d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _IntCurve_IntConicConic_HeaderFile
#define _IntCurve_IntConicConic_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_Macro_HeaderFile
#include <Standard_Macro.hxx>
#endif

#ifndef _IntCurve_IntImpConicParConic_HeaderFile
#include <IntCurve_IntImpConicParConic.hxx>
#endif
#ifndef _IntRes2d_Intersection_HeaderFile
#include <IntRes2d_Intersection.hxx>
#endif
#ifndef _Standard_Real_HeaderFile
#include <Standard_Real.hxx>
#endif
class Standard_ConstructionError;
class gp_Lin2d;
class IntRes2d_Domain;
class gp_Circ2d;
class gp_Elips2d;
class gp_Parab2d;
class gp_Hypr2d;


//! Provides methods to intersect two conics. <br>
//!          The exception ConstructionError is raised  in constructors <br>
//!          or in Perform methods  when a domain  (Domain from IntRes2d) <br>
//!          is not correct, i-e when a Circle (Circ2d from  gp) or <br>
//!          an Ellipse (i-e Elips2d from  gp) do not have a closed <br>
//!          domain (use the  SetEquivalentParameters method for a domain <br>
//!          on a circle or an ellipse). <br>
class IntCurve_IntConicConic  : public IntRes2d_Intersection {
public:

  void* operator new(size_t,void* anAddress) 
  {
    return anAddress;
  }
  void* operator new(size_t size) 
  {
    return Standard::Allocate(size); 
  }
  void  operator delete(void *anAddress) 
  {
    if (anAddress) Standard::Free((Standard_Address&)anAddress); 
  }

  //! Empty Constructor <br>
      IntCurve_IntConicConic();
  //! Intersection between 2 lines from gp. <br>
      IntCurve_IntConicConic(const gp_Lin2d& L1,const IntRes2d_Domain& D1,const gp_Lin2d& L2,const IntRes2d_Domain& D2,const Standard_Real TolConf,const Standard_Real Tol);
  //! Intersection between 2 lines from gp. <br>
  Standard_EXPORT     void Perform(const gp_Lin2d& L1,const IntRes2d_Domain& D1,const gp_Lin2d& L2,const IntRes2d_Domain& D2,const Standard_Real TolConf,const Standard_Real Tol) ;
  //! Intersection between a line and a circle. <br>
//!          The exception ConstructionError is raised if the method <br>
//!          IsClosed of the domain of the circle returns False. <br>
      IntCurve_IntConicConic(const gp_Lin2d& L,const IntRes2d_Domain& DL,const gp_Circ2d& C,const IntRes2d_Domain& DC,const Standard_Real TolConf,const Standard_Real Tol);
  //! Intersection between a line and a circle. <br>
//!          The exception ConstructionError is raised if the method <br>
//!          IsClosed of the domain of the circle returns False. <br>
  Standard_EXPORT     void Perform(const gp_Lin2d& L,const IntRes2d_Domain& DL,const gp_Circ2d& C,const IntRes2d_Domain& DC,const Standard_Real TolConf,const Standard_Real Tol) ;
  //! Intersection between a line and an ellipse. <br>
//!          The exception ConstructionError is raised if the method <br>
//!          IsClosed of the domain of the ellipse returns False. <br>
      IntCurve_IntConicConic(const gp_Lin2d& L,const IntRes2d_Domain& DL,const gp_Elips2d& E,const IntRes2d_Domain& DE,const Standard_Real TolConf,const Standard_Real Tol);
  //! Intersection between a line and an ellipse. <br>
//!          The exception ConstructionError is raised if the method <br>
//!          IsClosed of the domain of the ellipse returns False. <br>
  Standard_EXPORT     void Perform(const gp_Lin2d& L,const IntRes2d_Domain& DL,const gp_Elips2d& E,const IntRes2d_Domain& DE,const Standard_Real TolConf,const Standard_Real Tol) ;
  //! Intersection between a line and a parabola from gp. <br>
      IntCurve_IntConicConic(const gp_Lin2d& L,const IntRes2d_Domain& DL,const gp_Parab2d& P,const IntRes2d_Domain& DP,const Standard_Real TolConf,const Standard_Real Tol);
  //! Intersection between a line and a parabola from gp. <br>
  Standard_EXPORT     void Perform(const gp_Lin2d& L,const IntRes2d_Domain& DL,const gp_Parab2d& P,const IntRes2d_Domain& DP,const Standard_Real TolConf,const Standard_Real Tol) ;
  //! Intersection between a line and an hyperbola. <br>
      IntCurve_IntConicConic(const gp_Lin2d& L,const IntRes2d_Domain& DL,const gp_Hypr2d& H,const IntRes2d_Domain& DH,const Standard_Real TolConf,const Standard_Real Tol);
  //! Intersection between a line and an hyperbola. <br>
  Standard_EXPORT     void Perform(const gp_Lin2d& L,const IntRes2d_Domain& DL,const gp_Hypr2d& H,const IntRes2d_Domain& DH,const Standard_Real TolConf,const Standard_Real Tol) ;
  //! Intersection between 2 circles from gp. <br>
//!          The exception ConstructionError is raised if the method <br>
//!          IsClosed of one of the domain returns False. <br>
      IntCurve_IntConicConic(const gp_Circ2d& C1,const IntRes2d_Domain& D1,const gp_Circ2d& C2,const IntRes2d_Domain& D2,const Standard_Real TolConf,const Standard_Real Tol);
  //! Intersection between 2 circles from gp. <br>
//!          The exception ConstructionError is raised if the method <br>
//!          IsClosed of the domain of one of the circle returns False. <br>
  Standard_EXPORT     void Perform(const gp_Circ2d& C1,const IntRes2d_Domain& D1,const gp_Circ2d& C2,const IntRes2d_Domain& D2,const Standard_Real TolConf,const Standard_Real Tol) ;
  //! Intersection between a circle and an ellipse. <br>
//!          The exception ConstructionError is raised if the method <br>
//!          IsClosed of one the domain returns False. <br>
      IntCurve_IntConicConic(const gp_Circ2d& C,const IntRes2d_Domain& DC,const gp_Elips2d& E,const IntRes2d_Domain& DE,const Standard_Real TolConf,const Standard_Real Tol);
  //! Intersection between a circle and an ellipse. <br>
//!          The exception ConstructionError is raised if the method <br>
//!          IsClosed of one the domain returns False. <br>
  Standard_EXPORT     void Perform(const gp_Circ2d& C,const IntRes2d_Domain& DC,const gp_Elips2d& E,const IntRes2d_Domain& DE,const Standard_Real TolConf,const Standard_Real Tol) ;
  //! Intersection between a circle and a parabola. <br>
//!          The exception ConstructionError is raised if the method <br>
//!          IsClosed of the domain of the circle returns False. <br>
      IntCurve_IntConicConic(const gp_Circ2d& C,const IntRes2d_Domain& DC,const gp_Parab2d& P,const IntRes2d_Domain& DP,const Standard_Real TolConf,const Standard_Real Tol);
  //! Intersection between a circle and a parabola. <br>
//!          The exception ConstructionError is raised if the method <br>
//!          IsClosed of the domain of the circle returns False. <br>
  Standard_EXPORT     void Perform(const gp_Circ2d& C,const IntRes2d_Domain& DC,const gp_Parab2d& P,const IntRes2d_Domain& DP,const Standard_Real TolConf,const Standard_Real Tol) ;
  //! Intersection between a circle and an hyperbola. <br>
//!          The exception ConstructionError is raised if the method <br>
//!          IsClosed of the domain of the circle returns False. <br>
      IntCurve_IntConicConic(const gp_Circ2d& C,const IntRes2d_Domain& DC,const gp_Hypr2d& H,const IntRes2d_Domain& DH,const Standard_Real TolConf,const Standard_Real Tol);
  //! Intersection between a circle and an hyperbola. <br>
//!          The exception ConstructionError is raised if the method <br>
//!          IsClosed of the domain of the circle returns False. <br>
  Standard_EXPORT     void Perform(const gp_Circ2d& C,const IntRes2d_Domain& DC,const gp_Hypr2d& H,const IntRes2d_Domain& DH,const Standard_Real TolConf,const Standard_Real Tol) ;
  //! Intersection between 2 ellipses. <br>
//!          The exception ConstructionError is raised if the method <br>
//!          IsClosed of one of the domain returns False. <br>
      IntCurve_IntConicConic(const gp_Elips2d& E1,const IntRes2d_Domain& D1,const gp_Elips2d& E2,const IntRes2d_Domain& D2,const Standard_Real TolConf,const Standard_Real Tol);
  //! Intersection between 2 ellipses. <br>
//!          The exception ConstructionError is raised if the method <br>
//!          IsClosed of one of the domain returns False. <br>
  Standard_EXPORT     void Perform(const gp_Elips2d& E1,const IntRes2d_Domain& D1,const gp_Elips2d& E2,const IntRes2d_Domain& D2,const Standard_Real TolConf,const Standard_Real Tol) ;
  //! Intersection between an ellipse and a parabola. <br>
//!          The exception ConstructionError is raised if the method <br>
//!          IsClosed of the domain of the ellipse returns False. <br>
      IntCurve_IntConicConic(const gp_Elips2d& E,const IntRes2d_Domain& DE,const gp_Parab2d& P,const IntRes2d_Domain& DP,const Standard_Real TolConf,const Standard_Real Tol);
  //! Intersection between an ellipse and a parabola. <br>
//!          The exception ConstructionError is raised if the method <br>
//!          IsClosed of the domain of the ellipse returns False. <br>
  Standard_EXPORT     void Perform(const gp_Elips2d& E,const IntRes2d_Domain& DE,const gp_Parab2d& P,const IntRes2d_Domain& DP,const Standard_Real TolConf,const Standard_Real Tol) ;
  //! Intersection between an ellipse and an hyperbola. <br>
//!          The exception ConstructionError is raised if the method <br>
//!          IsClosed of the domain of the ellipse returns False. <br>
      IntCurve_IntConicConic(const gp_Elips2d& E,const IntRes2d_Domain& DE,const gp_Hypr2d& H,const IntRes2d_Domain& DH,const Standard_Real TolConf,const Standard_Real Tol);
  //! Intersection between an ellipse and an hyperbola. <br>
//!          The exception ConstructionError is raised if the method <br>
//!          IsClosed of the domain of the ellipse returns False. <br>
  Standard_EXPORT     void Perform(const gp_Elips2d& E,const IntRes2d_Domain& DE,const gp_Hypr2d& H,const IntRes2d_Domain& DH,const Standard_Real TolConf,const Standard_Real Tol) ;
  //! Intersection between 2 parabolas. <br>
      IntCurve_IntConicConic(const gp_Parab2d& P1,const IntRes2d_Domain& D1,const gp_Parab2d& P2,const IntRes2d_Domain& D2,const Standard_Real TolConf,const Standard_Real Tol);
  //! Intersection between 2 parabolas. <br>
  Standard_EXPORT     void Perform(const gp_Parab2d& P1,const IntRes2d_Domain& D1,const gp_Parab2d& P2,const IntRes2d_Domain& D2,const Standard_Real TolConf,const Standard_Real Tol) ;
  //! Intersection between a parabola and an hyperbola. <br>
      IntCurve_IntConicConic(const gp_Parab2d& P,const IntRes2d_Domain& DP,const gp_Hypr2d& H,const IntRes2d_Domain& DH,const Standard_Real TolConf,const Standard_Real Tol);
  //! Intersection between a parabola and an hyperbola. <br>
  Standard_EXPORT     void Perform(const gp_Parab2d& P,const IntRes2d_Domain& DP,const gp_Hypr2d& H,const IntRes2d_Domain& DH,const Standard_Real TolConf,const Standard_Real Tol) ;
  //! Intersection between 2 hyperbolas. <br>
      IntCurve_IntConicConic(const gp_Hypr2d& H1,const IntRes2d_Domain& D1,const gp_Hypr2d& H2,const IntRes2d_Domain& D2,const Standard_Real TolConf,const Standard_Real Tol);
  //! Intersection between 2 hyperbolas. <br>
  Standard_EXPORT     void Perform(const gp_Hypr2d& H1,const IntRes2d_Domain& D1,const gp_Hypr2d& H2,const IntRes2d_Domain& D2,const Standard_Real TolConf,const Standard_Real Tol) ;





protected:





private:



IntCurve_IntImpConicParConic Inter;


};


#include <IntCurve_IntConicConic.lxx>



// other Inline functions and methods (like "C++: function call" methods)


#endif