0031682: Visualization - Prs3d_ShadingAspect::SetTransparency() has no effect with...
[occt.git] / src / IntAna2d / IntAna2d_AnaIntersection.cxx
CommitLineData
b311480e 1// Copyright (c) 1995-1999 Matra Datavision
973c2be1 2// Copyright (c) 1999-2014 OPEN CASCADE SAS
b311480e 3//
973c2be1 4// This file is part of Open CASCADE Technology software library.
b311480e 5//
d5f74e42 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
973c2be1 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.
b311480e 11//
973c2be1 12// Alternatively, this file may be used under the terms of Open CASCADE
13// commercial license or contractual agreement.
7fd59977 14
7fd59977 15
42cf5bc1 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>
7fd59977 24#include <Standard_OutOfRange.hxx>
25#include <StdFail_NotDone.hxx>
b311480e 26
d533dafb 27IntAna2d_AnaIntersection::IntAna2d_AnaIntersection ()
28: done(Standard_False),
29 para(Standard_False),
30 iden(Standard_False),
31 empt(Standard_True),
32 nbp(0)
33{
7fd59977 34}
35
36IntAna2d_AnaIntersection::IntAna2d_AnaIntersection (const gp_Lin2d& L1,
37 const gp_Lin2d& L2) {
38 Perform(L1,L2);
39}
40
41IntAna2d_AnaIntersection::IntAna2d_AnaIntersection (const gp_Circ2d& C1,
42 const gp_Circ2d& C2) {
43 Perform(C1,C2);
44}
45
46
47IntAna2d_AnaIntersection::IntAna2d_AnaIntersection (const gp_Lin2d& L,
48 const gp_Circ2d& C) {
49 Perform(L,C);
50}
51
52
53IntAna2d_AnaIntersection::IntAna2d_AnaIntersection (const gp_Lin2d& L,
54 const IntAna2d_Conic& Conic) {
55 Perform(L,Conic);
56}
57
58IntAna2d_AnaIntersection::IntAna2d_AnaIntersection (const gp_Parab2d& P,
59 const IntAna2d_Conic& Conic) {
60 Perform(P,Conic);
61}
62
63IntAna2d_AnaIntersection::IntAna2d_AnaIntersection (const gp_Circ2d& C,
64 const IntAna2d_Conic& Conic) {
65 Perform(C,Conic);
66}
67
68IntAna2d_AnaIntersection::IntAna2d_AnaIntersection (const gp_Elips2d& E,
69 const IntAna2d_Conic& Conic) {
70 Perform(E,Conic);
71}
72
73
74IntAna2d_AnaIntersection::IntAna2d_AnaIntersection (const gp_Hypr2d& E,
75 const IntAna2d_Conic& Conic)
76{
77 Perform(E,Conic);
78}
79
80
81