1 // Copyright (C) 2005 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
2 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
4 // This library is free software; you can redistribute it and/or
5 // modify it under the terms of the GNU Lesser General Public
6 // License as published by the Free Software Foundation; either
7 // version 2.1 of the License.
9 // This library is distributed in the hope that it will be useful
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 // Lesser General Public License for more details.
14 // You should have received a copy of the GNU Lesser General Public
15 // License along with this library; if not, write to the Free Software
16 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
18 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
20 #ifndef _GEOMAlgo_Clsf_HeaderFile
21 #define _GEOMAlgo_Clsf_HeaderFile
23 #ifndef _Standard_HeaderFile
24 #include <Standard.hxx>
26 #ifndef _Handle_GEOMAlgo_Clsf_HeaderFile
27 #include <Handle_GEOMAlgo_Clsf.hxx>
30 #ifndef _TopAbs_State_HeaderFile
31 #include <TopAbs_State.hxx>
33 #ifndef _gp_Pnt_HeaderFile
36 #ifndef _Standard_Real_HeaderFile
37 #include <Standard_Real.hxx>
39 #ifndef _GEOMAlgo_HAlgo_HeaderFile
40 #include <GEOMAlgo_HAlgo.hxx>
42 #ifndef _Standard_Boolean_HeaderFile
43 #include <Standard_Boolean.hxx>
45 #ifndef _Handle_Geom_Curve_HeaderFile
46 #include <Handle_Geom_Curve.hxx>
48 #ifndef _Handle_Geom_Surface_HeaderFile
49 #include <Handle_Geom_Surface.hxx>
57 class GEOMAlgo_Clsf : public GEOMAlgo_HAlgo {
64 Standard_EXPORT void SetPnt(const gp_Pnt& aP) ;
67 Standard_EXPORT const gp_Pnt& Pnt() const;
70 Standard_EXPORT void SetTolerance(const Standard_Real aT) ;
73 Standard_EXPORT Standard_Real Tolerance() const;
76 Standard_EXPORT TopAbs_State State() const;
79 Standard_EXPORT virtual Standard_Boolean CanBeON(const Handle(Geom_Curve)& aCT) const;
82 Standard_EXPORT virtual Standard_Boolean CanBeON(const Handle(Geom_Surface)& aST) const;
83 //Standard_EXPORT ~GEOMAlgo_Clsf();
90 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
91 //Standard_EXPORT Standard_Boolean IsKind(const Handle(Standard_Type)&) const;
99 Standard_EXPORT GEOMAlgo_Clsf();
100 Standard_EXPORT virtual ~GEOMAlgo_Clsf();
105 TopAbs_State myState;
107 Standard_Real myTolerance;
126 // other Inline functions and methods (like "C++: function call" methods)