0023948: Wrong intersection between a surface of revolution and a plane.
[occt.git] / src / PBRep / PBRep_CurveRepresentation.cxx
1 // Created on: 1993-07-26
2 // Created by: Remi LEQUETTE
3 // Copyright (c) 1993-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
5 //
6 // This file is part of Open CASCADE Technology software library.
7 //
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
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.
13 //
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
16
17 #include <PBRep_CurveRepresentation.ixx>
18
19 //=======================================================================
20 //function : PBRep_CurveRepresentation
21 //purpose  : 
22 //=======================================================================
23
24 PBRep_CurveRepresentation::PBRep_CurveRepresentation(const PTopLoc_Location& L) :
25   myLocation(L)
26 {
27 }
28
29
30 //=======================================================================
31 //function : Location
32 //purpose  : 
33 //=======================================================================
34
35 PTopLoc_Location  PBRep_CurveRepresentation::Location()const 
36 {
37   return myLocation;
38 }
39
40 //=======================================================================
41 //function : Next
42 //purpose  : 
43 //=======================================================================
44
45 Handle(PBRep_CurveRepresentation)  PBRep_CurveRepresentation::Next()const 
46 {
47   return myNext;
48 }
49
50
51 //=======================================================================
52 //function : Next
53 //purpose  : 
54 //=======================================================================
55
56 void  PBRep_CurveRepresentation::Next
57   (const Handle(PBRep_CurveRepresentation)& N)
58 {
59   myNext = N;
60 }
61
62 //=======================================================================
63 //function : IsGCurve
64 //purpose  : 
65 //=======================================================================
66
67 Standard_Boolean  PBRep_CurveRepresentation::IsGCurve()const 
68 {
69   return Standard_False;
70 }
71
72
73 //=======================================================================
74 //function : IsCurve3D
75 //purpose  : 
76 //=======================================================================
77
78 Standard_Boolean  PBRep_CurveRepresentation::IsCurve3D()const 
79 {
80   return Standard_False;
81 }
82
83
84 //=======================================================================
85 //function : IsCurveOnSurface
86 //purpose  : 
87 //=======================================================================
88
89 Standard_Boolean  PBRep_CurveRepresentation::IsCurveOnSurface()const 
90 {
91   return Standard_False;
92 }
93
94
95 //=======================================================================
96 //function : IsCurveOnClosedSurface
97 //purpose  : 
98 //=======================================================================
99
100 Standard_Boolean  PBRep_CurveRepresentation::IsCurveOnClosedSurface()const 
101 {
102   return Standard_False;
103 }
104
105
106 //=======================================================================
107 //function : IsRegularity
108 //purpose  : 
109 //=======================================================================
110
111 Standard_Boolean  PBRep_CurveRepresentation::IsRegularity()const 
112 {
113   return Standard_False;
114 }
115
116 //=======================================================================
117 //function : IsPolygon3D
118 //purpose  : 
119 //=======================================================================
120
121 Standard_Boolean  PBRep_CurveRepresentation::IsPolygon3D()const 
122 {
123   return Standard_False;
124 }
125
126 //=======================================================================
127 //function : IsPolygonOnTriangulation
128 //purpose  : 
129 //=======================================================================
130
131 Standard_Boolean  PBRep_CurveRepresentation::IsPolygonOnTriangulation()const 
132 {
133   return Standard_False;
134 }
135
136
137 //=======================================================================
138 //function : IsPolygonOnClosedTriangulation
139 //purpose  : 
140 //=======================================================================
141
142 Standard_Boolean  PBRep_CurveRepresentation::IsPolygonOnClosedTriangulation()const 
143 {
144   return Standard_False;
145 }
146
147 //=======================================================================
148 //function : IsPolygonOnSurface
149 //purpose  : 
150 //=======================================================================
151
152 Standard_Boolean  PBRep_CurveRepresentation::IsPolygonOnSurface()const 
153 {
154   return Standard_False;
155 }
156
157 //=======================================================================
158 //function : IsPolygonOnClosedSurface
159 //purpose  : 
160 //=======================================================================
161
162 Standard_Boolean  PBRep_CurveRepresentation::IsPolygonOnClosedSurface()const 
163 {
164   return Standard_False;
165 }