Back to home page

EIC code displayed by LXR

 
 

    


Warning, /include/opencascade/IntCurve_IntConicConic.lxx is written in an unsupported language. File is not indexed.

0001 // Created on: 1997-02-19
0002 // Created by: Laurent BUCHARD
0003 // Copyright (c) 1997-1999 Matra Datavision
0004 // Copyright (c) 1999-2014 OPEN CASCADE SAS
0005 //
0006 // This file is part of Open CASCADE Technology software library.
0007 //
0008 // This library is free software; you can redistribute it and/or modify it under
0009 // the terms of the GNU Lesser General Public License version 2.1 as published
0010 // by the Free Software Foundation, with special exception defined in the file
0011 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
0012 // distribution for complete text of the license and disclaimer of any warranty.
0013 //
0014 // Alternatively, this file may be used under the terms of Open CASCADE
0015 // commercial license or contractual agreement.
0016 
0017 #define CONSTRUCTOR IntCurve_IntConicConic::IntCurve_IntConicConic
0018 #define PERFORM void IntCurve_IntConicConic::Perform
0019 
0020 inline CONSTRUCTOR() {}
0021 
0022 //----------------------------------------------------------------------  L  P
0023 inline CONSTRUCTOR(const gp_Lin2d&        L,
0024                    const IntRes2d_Domain& DL,
0025                    const gp_Parab2d&      P,
0026                    const IntRes2d_Domain& DP,
0027                    const double           TolConf,
0028                    const double           Tol)
0029 {
0030   Perform(L, DL, P, DP, TolConf, Tol);
0031 }
0032 
0033 //----------------------------------------------------------------------  L  E
0034 inline CONSTRUCTOR(const gp_Lin2d&        L,
0035                    const IntRes2d_Domain& DL,
0036                    const gp_Elips2d&      E,
0037                    const IntRes2d_Domain& DE,
0038                    const double           TolConf,
0039                    const double           Tol)
0040 {
0041 
0042   Perform(L, DL, E, DE, TolConf, Tol);
0043 }
0044 
0045 //----------------------------------------------------------------------  L H
0046 inline CONSTRUCTOR(const gp_Lin2d&        L,
0047                    const IntRes2d_Domain& DL,
0048                    const gp_Hypr2d&       H,
0049                    const IntRes2d_Domain& DH,
0050                    const double           TolConf,
0051                    const double           Tol)
0052 {
0053 
0054   Perform(L, DL, H, DH, TolConf, Tol);
0055 }
0056 
0057 //---------------------------------------------------------------------- C P
0058 inline CONSTRUCTOR(const gp_Circ2d&       C,
0059                    const IntRes2d_Domain& DC,
0060                    const gp_Parab2d&      P,
0061                    const IntRes2d_Domain& DP,
0062                    const double           TolConf,
0063                    const double           Tol)
0064 {
0065 
0066   Perform(C, DC, P, DP, TolConf, Tol);
0067 }
0068 
0069 //----------------------------------------------------------------------  C E
0070 inline CONSTRUCTOR(const gp_Circ2d&       C,
0071                    const IntRes2d_Domain& DC,
0072                    const gp_Elips2d&      E,
0073                    const IntRes2d_Domain& DE,
0074                    const double           TolConf,
0075                    const double           Tol)
0076 {
0077 
0078   Perform(C, DC, E, DE, TolConf, Tol);
0079 }
0080 
0081 //---------------------------------------------------------------------- C H
0082 inline CONSTRUCTOR(const gp_Circ2d&       C,
0083                    const IntRes2d_Domain& DC,
0084                    const gp_Hypr2d&       H,
0085                    const IntRes2d_Domain& DH,
0086                    const double           TolConf,
0087                    const double           Tol)
0088 {
0089 
0090   Perform(C, DC, H, DH, TolConf, Tol);
0091 }
0092 
0093 //---------------------------------------------------------------------- P P
0094 inline CONSTRUCTOR(const gp_Parab2d&      P1,
0095                    const IntRes2d_Domain& D1,
0096                    const gp_Parab2d&      P2,
0097                    const IntRes2d_Domain& D2,
0098                    const double           TolConf,
0099                    const double           Tol)
0100 {
0101 
0102   Perform(P1, D1, P2, D2, TolConf, Tol);
0103 }
0104 
0105 //---------------------------------------------------------------------- E P
0106 inline CONSTRUCTOR(const gp_Elips2d&      E,
0107                    const IntRes2d_Domain& DE,
0108                    const gp_Parab2d&      P,
0109                    const IntRes2d_Domain& DP,
0110                    const double           TolConf,
0111                    const double           Tol)
0112 {
0113   Perform(E, DE, P, DP, TolConf, Tol);
0114 }
0115 
0116 //---------------------------------------------------------------------- P H
0117 inline CONSTRUCTOR(const gp_Parab2d&      P,
0118                    const IntRes2d_Domain& DP,
0119                    const gp_Hypr2d&       H,
0120                    const IntRes2d_Domain& DH,
0121                    const double           TolConf,
0122                    const double           Tol)
0123 {
0124 
0125   Perform(P, DP, H, DH, TolConf, Tol);
0126 }
0127 
0128 //---------------------------------------------------------------------- E E
0129 inline CONSTRUCTOR(const gp_Elips2d&      E1,
0130                    const IntRes2d_Domain& D1,
0131                    const gp_Elips2d&      E2,
0132                    const IntRes2d_Domain& D2,
0133                    const double           TolConf,
0134                    const double           Tol)
0135 {
0136 
0137   Perform(E1, D1, E2, D2, TolConf, Tol);
0138 }
0139 
0140 //----------------------------------------------------------------------  E H
0141 inline CONSTRUCTOR(const gp_Elips2d&      E,
0142                    const IntRes2d_Domain& DE,
0143                    const gp_Hypr2d&       H,
0144                    const IntRes2d_Domain& DH,
0145                    const double           TolConf,
0146                    const double           Tol)
0147 {
0148 
0149   Perform(E, DE, H, DH, TolConf, Tol);
0150 }
0151 
0152 //---------------------------------------------------------------------- H H
0153 inline CONSTRUCTOR(const gp_Hypr2d&       H1,
0154                    const IntRes2d_Domain& DH1,
0155                    const gp_Hypr2d&       H2,
0156                    const IntRes2d_Domain& DH2,
0157                    const double           TolConf,
0158                    const double           Tol)
0159 {
0160 
0161   Perform(H1, DH1, H2, DH2, TolConf, Tol);
0162 }
0163 
0164 //---------------------------------------------------------------------- L L
0165 inline CONSTRUCTOR(const gp_Lin2d&        L1,
0166                    const IntRes2d_Domain& D1,
0167                    const gp_Lin2d&        L2,
0168                    const IntRes2d_Domain& D2,
0169                    const double           TolConf,
0170                    const double           Tol)
0171 {
0172   Perform(L1, D1, L2, D2, TolConf, Tol);
0173 }
0174 
0175 //---------------------------------------------------------------------- L C
0176 inline CONSTRUCTOR(const gp_Lin2d&        L1,
0177                    const IntRes2d_Domain& D1,
0178                    const gp_Circ2d&       C2,
0179                    const IntRes2d_Domain& D2,
0180                    const double           TolConf,
0181                    const double           Tol)
0182 {
0183 
0184   Perform(L1, D1, C2, D2, TolConf, Tol);
0185 }
0186 
0187 //---------------------------------------------------------------------- C C
0188 
0189 inline CONSTRUCTOR(const gp_Circ2d&       C1,
0190                    const IntRes2d_Domain& D1,
0191                    const gp_Circ2d&       C2,
0192                    const IntRes2d_Domain& D2,
0193                    const double           TolConf,
0194                    const double           Tol)
0195 {
0196   SetReversedParameters(false);
0197   Perform(C1, D1, C2, D2, TolConf, Tol);
0198 }