0031035: Coding - uninitialized class fields reported by Visual Studio Code Analysis
[occt.git] / src / IntAna2d / IntAna2d_AnaIntersection.cxx
1 // Copyright (c) 1995-1999 Matra Datavision
2 // Copyright (c) 1999-2014 OPEN CASCADE SAS
3 //
4 // This file is part of Open CASCADE Technology software library.
5 //
6 // This library is free software; you can redistribute it and/or modify it under
7 // the terms of the GNU Lesser General Public License version 2.1 as published
8 // by the Free Software Foundation, with special exception defined in the file
9 // OCCT_LGPL_EXCEPTION.txt. Consult the file LICENSE_LGPL_21.txt included in OCCT
10 // distribution for complete text of the license and disclaimer of any warranty.
11 //
12 // Alternatively, this file may be used under the terms of Open CASCADE
13 // commercial license or contractual agreement.
14
15
16 #include <gp_Circ2d.hxx>
17 #include <gp_Elips2d.hxx>
18 #include <gp_Hypr2d.hxx>
19 #include <gp_Lin2d.hxx>
20 #include <gp_Parab2d.hxx>
21 #include <IntAna2d_AnaIntersection.hxx>
22 #include <IntAna2d_Conic.hxx>
23 #include <IntAna2d_IntPoint.hxx>
24 #include <Standard_OutOfRange.hxx>
25 #include <StdFail_NotDone.hxx>
26
27 IntAna2d_AnaIntersection::IntAna2d_AnaIntersection ()
28 : done(Standard_False),
29   para(Standard_False),
30   iden(Standard_False),
31   empt(Standard_True),
32   nbp(0)
33 {
34 }
35
36 IntAna2d_AnaIntersection::IntAna2d_AnaIntersection (const gp_Lin2d& L1,
37                                                     const gp_Lin2d& L2) {
38   Perform(L1,L2);
39 }
40
41 IntAna2d_AnaIntersection::IntAna2d_AnaIntersection (const gp_Circ2d& C1,
42                                                     const gp_Circ2d& C2) {
43   Perform(C1,C2);
44 }
45
46
47 IntAna2d_AnaIntersection::IntAna2d_AnaIntersection (const gp_Lin2d& L,
48                                                     const gp_Circ2d& C) { 
49   Perform(L,C);
50 }
51
52
53 IntAna2d_AnaIntersection::IntAna2d_AnaIntersection (const gp_Lin2d& L,
54                                                     const IntAna2d_Conic& Conic) {
55   Perform(L,Conic);
56 }
57
58 IntAna2d_AnaIntersection::IntAna2d_AnaIntersection (const gp_Parab2d& P,
59                                                     const IntAna2d_Conic& Conic) {
60   Perform(P,Conic);
61 }
62
63 IntAna2d_AnaIntersection::IntAna2d_AnaIntersection (const gp_Circ2d& C,
64                                                     const IntAna2d_Conic& Conic) {
65   Perform(C,Conic);
66 }
67
68 IntAna2d_AnaIntersection::IntAna2d_AnaIntersection (const gp_Elips2d& E,
69                                                     const IntAna2d_Conic& Conic) {
70   Perform(E,Conic);
71 }
72
73
74 IntAna2d_AnaIntersection::IntAna2d_AnaIntersection (const gp_Hypr2d& E,
75                                                     const IntAna2d_Conic& Conic)
76 {
77   Perform(E,Conic);
78 }
79
80
81