b311480e |
1 | // Created on: 1997-02-19 |
2 | // Created by: Laurent BUCHARD |
3 | // Copyright (c) 1997-1999 Matra Datavision |
973c2be1 |
4 | // Copyright (c) 1999-2014 OPEN CASCADE SAS |
b311480e |
5 | // |
973c2be1 |
6 | // This file is part of Open CASCADE Technology software library. |
b311480e |
7 | // |
d5f74e42 |
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 |
973c2be1 |
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. |
b311480e |
13 | // |
973c2be1 |
14 | // Alternatively, this file may be used under the terms of Open CASCADE |
15 | // commercial license or contractual agreement. |
7fd59977 |
16 | |
17 | #define CONSTRUCTOR IntCurve_IntConicConic::IntCurve_IntConicConic |
18 | #define PERFORM void IntCurve_IntConicConic::Perform |
19 | |
20 | |
21 | inline CONSTRUCTOR() { } |
22 | |
23 | //---------------------------------------------------------------------- L P |
24 | inline CONSTRUCTOR(const gp_Lin2d& L,const IntRes2d_Domain& DL |
25 | ,const gp_Parab2d& P,const IntRes2d_Domain& DP |
26 | ,const Standard_Real TolConf,const Standard_Real Tol) { |
27 | Perform(L,DL,P,DP,TolConf,Tol); |
28 | } |
29 | |
30 | //---------------------------------------------------------------------- L E |
31 | inline CONSTRUCTOR(const gp_Lin2d& L,const IntRes2d_Domain& DL |
32 | ,const gp_Elips2d& E,const IntRes2d_Domain& DE |
33 | ,const Standard_Real TolConf,const Standard_Real Tol) { |
34 | |
35 | Perform(L,DL,E,DE,TolConf,Tol); |
36 | } |
37 | |
38 | //---------------------------------------------------------------------- L H |
39 | inline CONSTRUCTOR(const gp_Lin2d& L,const IntRes2d_Domain& DL |
40 | ,const gp_Hypr2d& H,const IntRes2d_Domain& DH |
41 | ,const Standard_Real TolConf,const Standard_Real Tol) { |
42 | |
43 | Perform(L,DL,H,DH,TolConf,Tol); |
44 | } |
45 | |
46 | //---------------------------------------------------------------------- C P |
47 | inline CONSTRUCTOR(const gp_Circ2d& C,const IntRes2d_Domain& DC |
48 | ,const gp_Parab2d& P,const IntRes2d_Domain& DP |
49 | ,const Standard_Real TolConf,const Standard_Real Tol) { |
50 | |
51 | Perform(C,DC,P,DP,TolConf,Tol); |
52 | } |
53 | //---------------------------------------------------------------------- C E |
54 | inline CONSTRUCTOR(const gp_Circ2d& C,const IntRes2d_Domain& DC |
55 | ,const gp_Elips2d& E,const IntRes2d_Domain& DE |
56 | ,const Standard_Real TolConf,const Standard_Real Tol) { |
57 | |
58 | Perform(C,DC,E,DE,TolConf,Tol); |
59 | } |
60 | //---------------------------------------------------------------------- C H |
61 | inline CONSTRUCTOR(const gp_Circ2d& C,const IntRes2d_Domain& DC |
62 | ,const gp_Hypr2d& H,const IntRes2d_Domain& DH |
63 | ,const Standard_Real TolConf,const Standard_Real Tol) { |
64 | |
65 | Perform(C,DC,H,DH,TolConf,Tol); |
66 | } |
67 | //---------------------------------------------------------------------- P P |
68 | inline CONSTRUCTOR(const gp_Parab2d& P1,const IntRes2d_Domain& D1 |
69 | ,const gp_Parab2d& P2,const IntRes2d_Domain& D2 |
70 | ,const Standard_Real TolConf,const Standard_Real Tol) { |
71 | |
72 | Perform(P1,D1,P2,D2,TolConf,Tol); |
73 | } |
74 | //---------------------------------------------------------------------- E P |
75 | inline CONSTRUCTOR(const gp_Elips2d& E,const IntRes2d_Domain& DE |
76 | ,const gp_Parab2d& P,const IntRes2d_Domain& DP |
77 | ,const Standard_Real TolConf,const Standard_Real Tol) { |
78 | Perform(E,DE,P,DP,TolConf,Tol); |
79 | } |
80 | //---------------------------------------------------------------------- P H |
81 | inline CONSTRUCTOR(const gp_Parab2d& P,const IntRes2d_Domain& DP |
82 | ,const gp_Hypr2d& H,const IntRes2d_Domain& DH |
83 | ,const Standard_Real TolConf,const Standard_Real Tol) { |
84 | |
85 | Perform(P,DP,H,DH,TolConf,Tol); |
86 | } |
87 | //---------------------------------------------------------------------- E E |
88 | inline CONSTRUCTOR(const gp_Elips2d& E1,const IntRes2d_Domain& D1 |
89 | ,const gp_Elips2d& E2,const IntRes2d_Domain& D2 |
90 | ,const Standard_Real TolConf,const Standard_Real Tol) { |
91 | |
92 | Perform(E1,D1,E2,D2,TolConf,Tol); |
93 | } |
94 | |
95 | //---------------------------------------------------------------------- E H |
96 | inline CONSTRUCTOR(const gp_Elips2d& E,const IntRes2d_Domain& DE |
97 | ,const gp_Hypr2d& H,const IntRes2d_Domain& DH |
98 | ,const Standard_Real TolConf,const Standard_Real Tol) { |
99 | |
100 | Perform(E,DE,H,DH,TolConf,Tol); |
101 | } |
102 | //---------------------------------------------------------------------- H H |
103 | inline CONSTRUCTOR(const gp_Hypr2d& H1,const IntRes2d_Domain& DH1 |
104 | ,const gp_Hypr2d& H2,const IntRes2d_Domain& DH2 |
105 | ,const Standard_Real TolConf,const Standard_Real Tol) { |
106 | |
107 | Perform(H1,DH1,H2,DH2,TolConf,Tol); |
108 | } |
109 | //---------------------------------------------------------------------- L L |
110 | inline CONSTRUCTOR(const gp_Lin2d& L1 |
111 | ,const IntRes2d_Domain& D1 |
112 | ,const gp_Lin2d& L2 |
113 | ,const IntRes2d_Domain& D2 |
114 | ,const Standard_Real TolConf |
115 | ,const Standard_Real Tol) { |
116 | Perform(L1,D1,L2,D2,TolConf,Tol); |
117 | } |
118 | //---------------------------------------------------------------------- L C |
119 | inline CONSTRUCTOR(const gp_Lin2d& L1 |
120 | ,const IntRes2d_Domain& D1 |
121 | ,const gp_Circ2d& C2 |
122 | ,const IntRes2d_Domain& D2 |
123 | ,const Standard_Real TolConf |
124 | ,const Standard_Real Tol) { |
125 | |
126 | Perform(L1,D1,C2,D2,TolConf,Tol); |
127 | } |
128 | //---------------------------------------------------------------------- C C |
129 | |
130 | inline CONSTRUCTOR(const gp_Circ2d& C1 |
131 | ,const IntRes2d_Domain& D1 |
132 | ,const gp_Circ2d& C2 |
133 | ,const IntRes2d_Domain& D2 |
134 | ,const Standard_Real TolConf |
135 | ,const Standard_Real Tol) { |
136 | SetReversedParameters(Standard_False); |
137 | Perform(C1,D1,C2,D2,TolConf,Tol); |
138 | } |