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,MMgt_TShared)
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 Standard_DomainError::Raise("BRep_PointRepresentation");
125 //=======================================================================
126 //function : Parameter2
128 //=======================================================================
130 void BRep_PointRepresentation::Parameter2(const Standard_Real )
132 Standard_DomainError::Raise("BRep_PointRepresentation");
136 //=======================================================================
139 //=======================================================================
141 const Handle(Geom_Curve)& BRep_PointRepresentation::Curve()const
143 Standard_DomainError::Raise("BRep_PointRepresentation");
144 return *((Handle(Geom_Curve)*) NULL);
148 //=======================================================================
151 //=======================================================================
153 void BRep_PointRepresentation::Curve(const Handle(Geom_Curve)& )
155 Standard_DomainError::Raise("BRep_PointRepresentation");
159 //=======================================================================
162 //=======================================================================
164 const Handle(Geom2d_Curve)& BRep_PointRepresentation::PCurve()const
166 Standard_DomainError::Raise("BRep_PointRepresentation");
167 return *((Handle(Geom2d_Curve)*) NULL);
171 //=======================================================================
174 //=======================================================================
176 void BRep_PointRepresentation::PCurve(const Handle(Geom2d_Curve)& )
178 Standard_DomainError::Raise("BRep_PointRepresentation");
182 //=======================================================================
185 //=======================================================================
187 const Handle(Geom_Surface)& BRep_PointRepresentation::Surface()const
189 Standard_DomainError::Raise("BRep_PointRepresentation");
190 return *((Handle(Geom_Surface)*) NULL);
194 //=======================================================================
197 //=======================================================================
199 void BRep_PointRepresentation::Surface(const Handle(Geom_Surface)& )
201 Standard_DomainError::Raise("BRep_PointRepresentation");