0022627: Change OCCT memory management defaults
[occt.git] / src / BRep / BRep_PointRepresentation.cxx
CommitLineData
7fd59977 1// File: BRep_PointRepresentation.cxx
2// Created: Tue Aug 10 14:44:28 1993
3// Author: Remi LEQUETTE
4// <rle@phylox>
5
6
7#include <BRep_PointRepresentation.ixx>
8
9//=======================================================================
10//function : BRep_PointRepresentation
11//purpose :
12//=======================================================================
13
14BRep_PointRepresentation::BRep_PointRepresentation(const Standard_Real P,
15 const TopLoc_Location& L) :
16 myLocation(L),
17 myParameter(P)
18{
19}
20
21
22//=======================================================================
23//function : IsPointOnCurve
24//purpose :
25//=======================================================================
26
27Standard_Boolean BRep_PointRepresentation::IsPointOnCurve()const
28{
29 return Standard_False;
30}
31
32
33//=======================================================================
34//function : IsPointOnCurveOnSurface
35//purpose :
36//=======================================================================
37
38Standard_Boolean BRep_PointRepresentation::IsPointOnCurveOnSurface()const
39{
40 return Standard_False;
41}
42
43
44//=======================================================================
45//function : IsPointOnSurface
46//purpose :
47//=======================================================================
48
49Standard_Boolean BRep_PointRepresentation::IsPointOnSurface()const
50{
51 return Standard_False;
52}
53
54
55//=======================================================================
56//function : IsPointOnCurve
57//purpose :
58//=======================================================================
59
60Standard_Boolean BRep_PointRepresentation::IsPointOnCurve
61 (const Handle(Geom_Curve)& ,
62 const TopLoc_Location& )const
63{
64 return Standard_False;
65}
66
67
68//=======================================================================
69//function : IsPointOnCurveOnSurface
70//purpose :
71//=======================================================================
72
73Standard_Boolean BRep_PointRepresentation::IsPointOnCurveOnSurface
74 (const Handle(Geom2d_Curve)& ,
75 const Handle(Geom_Surface)& ,
76 const TopLoc_Location& )const
77{
78 return Standard_False;
79}
80
81
82//=======================================================================
83//function : IsPointOnSurface
84//purpose :
85//=======================================================================
86
87Standard_Boolean BRep_PointRepresentation::IsPointOnSurface
88 (const Handle(Geom_Surface)& ,
89 const TopLoc_Location& )const
90{
91 return Standard_False;
92}
93
94
95//=======================================================================
96//function : Parameter2
97//purpose :
98//=======================================================================
99
100Standard_Real BRep_PointRepresentation::Parameter2()const
101{
102 Standard_DomainError::Raise("BRep_PointRepresentation");
103 return 0;
104}
105
106
107//=======================================================================
108//function : Parameter2
109//purpose :
110//=======================================================================
111
112void BRep_PointRepresentation::Parameter2(const Standard_Real )
113{
114 Standard_DomainError::Raise("BRep_PointRepresentation");
115}
116
117
118//=======================================================================
119//function : Curve
120//purpose :
121//=======================================================================
122
123const Handle(Geom_Curve)& BRep_PointRepresentation::Curve()const
124{
125 Standard_DomainError::Raise("BRep_PointRepresentation");
126 return *((Handle(Geom_Curve)*) NULL);
127}
128
129
130//=======================================================================
131//function : Curve
132//purpose :
133//=======================================================================
134
135void BRep_PointRepresentation::Curve(const Handle(Geom_Curve)& )
136{
137 Standard_DomainError::Raise("BRep_PointRepresentation");
138}
139
140
141//=======================================================================
142//function : PCurve
143//purpose :
144//=======================================================================
145
146const Handle(Geom2d_Curve)& BRep_PointRepresentation::PCurve()const
147{
148 Standard_DomainError::Raise("BRep_PointRepresentation");
149 return *((Handle(Geom2d_Curve)*) NULL);
150}
151
152
153//=======================================================================
154//function : PCurve
155//purpose :
156//=======================================================================
157
158void BRep_PointRepresentation::PCurve(const Handle(Geom2d_Curve)& )
159{
160 Standard_DomainError::Raise("BRep_PointRepresentation");
161}
162
163
164//=======================================================================
165//function : Surface
166//purpose :
167//=======================================================================
168
169const Handle(Geom_Surface)& BRep_PointRepresentation::Surface()const
170{
171 Standard_DomainError::Raise("BRep_PointRepresentation");
172 return *((Handle(Geom_Surface)*) NULL);
173}
174
175
176//=======================================================================
177//function : Surface
178//purpose :
179//=======================================================================
180
181void BRep_PointRepresentation::Surface(const Handle(Geom_Surface)& )
182{
183 Standard_DomainError::Raise("BRep_PointRepresentation");
184}
185
186