0022048: Visualization, AIS_InteractiveContext - single object selection should alway...
[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
7fd59977 27IntAna2d_AnaIntersection::IntAna2d_AnaIntersection () {
28
29 done = Standard_False;
30}
31
32IntAna2d_AnaIntersection::IntAna2d_AnaIntersection (const gp_Lin2d& L1,
33 const gp_Lin2d& L2) {
34 Perform(L1,L2);
35}
36
37IntAna2d_AnaIntersection::IntAna2d_AnaIntersection (const gp_Circ2d& C1,
38 const gp_Circ2d& C2) {
39 Perform(C1,C2);
40}
41
42
43IntAna2d_AnaIntersection::IntAna2d_AnaIntersection (const gp_Lin2d& L,
44 const gp_Circ2d& C) {
45 Perform(L,C);
46}
47
48
49IntAna2d_AnaIntersection::IntAna2d_AnaIntersection (const gp_Lin2d& L,
50 const IntAna2d_Conic& Conic) {
51 Perform(L,Conic);
52}
53
54IntAna2d_AnaIntersection::IntAna2d_AnaIntersection (const gp_Parab2d& P,
55 const IntAna2d_Conic& Conic) {
56 Perform(P,Conic);
57}
58
59IntAna2d_AnaIntersection::IntAna2d_AnaIntersection (const gp_Circ2d& C,
60 const IntAna2d_Conic& Conic) {
61 Perform(C,Conic);
62}
63
64IntAna2d_AnaIntersection::IntAna2d_AnaIntersection (const gp_Elips2d& E,
65 const IntAna2d_Conic& Conic) {
66 Perform(E,Conic);
67}
68
69
70IntAna2d_AnaIntersection::IntAna2d_AnaIntersection (const gp_Hypr2d& E,
71 const IntAna2d_Conic& Conic)
72{
73 Perform(E,Conic);
74}
75
76
77