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 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.
14 // Alternatively, this file may be used under the terms of Open CASCADE
15 // commercial license or contractual agreement.
18 #include <BRep_PointRepresentation.hxx>
19 #include <Geom2d_Curve.hxx>
20 #include <Geom_Curve.hxx>
21 #include <Geom_Surface.hxx>
22 #include <Standard_DomainError.hxx>
23 #include <Standard_Type.hxx>
24 #include <TopLoc_Location.hxx>
26 IMPLEMENT_STANDARD_RTTIEXT(BRep_PointRepresentation,Standard_Transient)
28 //=======================================================================
29 //function : BRep_PointRepresentation
31 //=======================================================================
32 BRep_PointRepresentation::BRep_PointRepresentation(const Standard_Real P,
33 const TopLoc_Location& L) :
40 //=======================================================================
41 //function : IsPointOnCurve
43 //=======================================================================
45 Standard_Boolean BRep_PointRepresentation::IsPointOnCurve()const
47 return Standard_False;
51 //=======================================================================
52 //function : IsPointOnCurveOnSurface
54 //=======================================================================
56 Standard_Boolean BRep_PointRepresentation::IsPointOnCurveOnSurface()const
58 return Standard_False;
62 //=======================================================================
63 //function : IsPointOnSurface
65 //=======================================================================
67 Standard_Boolean BRep_PointRepresentation::IsPointOnSurface()const
69 return Standard_False;
73 //=======================================================================
74 //function : IsPointOnCurve
76 //=======================================================================
78 Standard_Boolean BRep_PointRepresentation::IsPointOnCurve
79 (const Handle(Geom_Curve)& ,
80 const TopLoc_Location& )const
82 return Standard_False;
86 //=======================================================================
87 //function : IsPointOnCurveOnSurface
89 //=======================================================================
91 Standard_Boolean BRep_PointRepresentation::IsPointOnCurveOnSurface
92 (const Handle(Geom2d_Curve)& ,
93 const Handle(Geom_Surface)& ,
94 const TopLoc_Location& )const
96 return Standard_False;
100 //=======================================================================
101 //function : IsPointOnSurface
103 //=======================================================================
105 Standard_Boolean BRep_PointRepresentation::IsPointOnSurface
106 (const Handle(Geom_Surface)& ,
107 const TopLoc_Location& )const
109 return Standard_False;
113 //=======================================================================
114 //function : Parameter2
116 //=======================================================================
118 Standard_Real BRep_PointRepresentation::Parameter2()const
120 throw Standard_DomainError("BRep_PointRepresentation");
124 //=======================================================================
125 //function : Parameter2
127 //=======================================================================
129 void BRep_PointRepresentation::Parameter2(const Standard_Real )
131 throw Standard_DomainError("BRep_PointRepresentation");
135 //=======================================================================
138 //=======================================================================
140 const Handle(Geom_Curve)& BRep_PointRepresentation::Curve()const
142 throw Standard_DomainError("BRep_PointRepresentation");
146 //=======================================================================
149 //=======================================================================
151 void BRep_PointRepresentation::Curve(const Handle(Geom_Curve)& )
153 throw Standard_DomainError("BRep_PointRepresentation");
157 //=======================================================================
160 //=======================================================================
162 const Handle(Geom2d_Curve)& BRep_PointRepresentation::PCurve()const
164 throw Standard_DomainError("BRep_PointRepresentation");
168 //=======================================================================
171 //=======================================================================
173 void BRep_PointRepresentation::PCurve(const Handle(Geom2d_Curve)& )
175 throw Standard_DomainError("BRep_PointRepresentation");
179 //=======================================================================
182 //=======================================================================
184 const Handle(Geom_Surface)& BRep_PointRepresentation::Surface()const
186 throw Standard_DomainError("BRep_PointRepresentation");
190 //=======================================================================
193 //=======================================================================
195 void BRep_PointRepresentation::Surface(const Handle(Geom_Surface)& )
197 throw Standard_DomainError("BRep_PointRepresentation");