1 // Created on: 1993-08-10
2 // Created by: Remi LEQUETTE
3 // Copyright (c) 1993-1999 Matra Datavision
4 // Copyright (c) 1999-2014 OPEN CASCADE SAS
6 // This file is part of Open CASCADE Technology software library.
8 // This library is free software; you can redistribute it and / or modify it
9 // under the terms of the GNU Lesser General Public 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.
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
17 #include <BRep_PointRepresentation.ixx>
19 //=======================================================================
20 //function : BRep_PointRepresentation
22 //=======================================================================
24 BRep_PointRepresentation::BRep_PointRepresentation(const Standard_Real P,
25 const TopLoc_Location& L) :
32 //=======================================================================
33 //function : IsPointOnCurve
35 //=======================================================================
37 Standard_Boolean BRep_PointRepresentation::IsPointOnCurve()const
39 return Standard_False;
43 //=======================================================================
44 //function : IsPointOnCurveOnSurface
46 //=======================================================================
48 Standard_Boolean BRep_PointRepresentation::IsPointOnCurveOnSurface()const
50 return Standard_False;
54 //=======================================================================
55 //function : IsPointOnSurface
57 //=======================================================================
59 Standard_Boolean BRep_PointRepresentation::IsPointOnSurface()const
61 return Standard_False;
65 //=======================================================================
66 //function : IsPointOnCurve
68 //=======================================================================
70 Standard_Boolean BRep_PointRepresentation::IsPointOnCurve
71 (const Handle(Geom_Curve)& ,
72 const TopLoc_Location& )const
74 return Standard_False;
78 //=======================================================================
79 //function : IsPointOnCurveOnSurface
81 //=======================================================================
83 Standard_Boolean BRep_PointRepresentation::IsPointOnCurveOnSurface
84 (const Handle(Geom2d_Curve)& ,
85 const Handle(Geom_Surface)& ,
86 const TopLoc_Location& )const
88 return Standard_False;
92 //=======================================================================
93 //function : IsPointOnSurface
95 //=======================================================================
97 Standard_Boolean BRep_PointRepresentation::IsPointOnSurface
98 (const Handle(Geom_Surface)& ,
99 const TopLoc_Location& )const
101 return Standard_False;
105 //=======================================================================
106 //function : Parameter2
108 //=======================================================================
110 Standard_Real BRep_PointRepresentation::Parameter2()const
112 Standard_DomainError::Raise("BRep_PointRepresentation");
117 //=======================================================================
118 //function : Parameter2
120 //=======================================================================
122 void BRep_PointRepresentation::Parameter2(const Standard_Real )
124 Standard_DomainError::Raise("BRep_PointRepresentation");
128 //=======================================================================
131 //=======================================================================
133 const Handle(Geom_Curve)& BRep_PointRepresentation::Curve()const
135 Standard_DomainError::Raise("BRep_PointRepresentation");
136 return *((Handle(Geom_Curve)*) NULL);
140 //=======================================================================
143 //=======================================================================
145 void BRep_PointRepresentation::Curve(const Handle(Geom_Curve)& )
147 Standard_DomainError::Raise("BRep_PointRepresentation");
151 //=======================================================================
154 //=======================================================================
156 const Handle(Geom2d_Curve)& BRep_PointRepresentation::PCurve()const
158 Standard_DomainError::Raise("BRep_PointRepresentation");
159 return *((Handle(Geom2d_Curve)*) NULL);
163 //=======================================================================
166 //=======================================================================
168 void BRep_PointRepresentation::PCurve(const Handle(Geom2d_Curve)& )
170 Standard_DomainError::Raise("BRep_PointRepresentation");
174 //=======================================================================
177 //=======================================================================
179 const Handle(Geom_Surface)& BRep_PointRepresentation::Surface()const
181 Standard_DomainError::Raise("BRep_PointRepresentation");
182 return *((Handle(Geom_Surface)*) NULL);
186 //=======================================================================
189 //=======================================================================
191 void BRep_PointRepresentation::Surface(const Handle(Geom_Surface)& )
193 Standard_DomainError::Raise("BRep_PointRepresentation");