Version: 6.3.1

src/GEOMAlgo/GEOMAlgo_Clsf.hxx

Go to the documentation of this file.
00001 // Copyright (C) 2007-2011  CEA/DEN, EDF R&D, OPEN CASCADE
00002 //
00003 // Copyright (C) 2003-2007  OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN,
00004 // CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS
00005 //
00006 // This library is free software; you can redistribute it and/or
00007 // modify it under the terms of the GNU Lesser General Public
00008 // License as published by the Free Software Foundation; either
00009 // version 2.1 of the License.
00010 //
00011 // This library is distributed in the hope that it will be useful,
00012 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00013 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
00014 // Lesser General Public License for more details.
00015 //
00016 // You should have received a copy of the GNU Lesser General Public
00017 // License along with this library; if not, write to the Free Software
00018 // Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
00019 //
00020 // See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
00021 //
00022 
00023 #ifndef _GEOMAlgo_Clsf_HeaderFile
00024 #define _GEOMAlgo_Clsf_HeaderFile
00025 
00026 #ifndef _Standard_HeaderFile
00027 #include <Standard.hxx>
00028 #endif
00029 #ifndef _Handle_GEOMAlgo_Clsf_HeaderFile
00030 #include <Handle_GEOMAlgo_Clsf.hxx>
00031 #endif
00032 
00033 #ifndef _TopAbs_State_HeaderFile
00034 #include <TopAbs_State.hxx>
00035 #endif
00036 #ifndef _gp_Pnt_HeaderFile
00037 #include <gp_Pnt.hxx>
00038 #endif
00039 #ifndef _Standard_Real_HeaderFile
00040 #include <Standard_Real.hxx>
00041 #endif
00042 #ifndef _GEOMAlgo_HAlgo_HeaderFile
00043 #include <GEOMAlgo_HAlgo.hxx>
00044 #endif
00045 #ifndef _Standard_Boolean_HeaderFile
00046 #include <Standard_Boolean.hxx>
00047 #endif
00048 #ifndef _Handle_Geom_Curve_HeaderFile
00049 #include <Handle_Geom_Curve.hxx>
00050 #endif
00051 #ifndef _Handle_Geom_Surface_HeaderFile
00052 #include <Handle_Geom_Surface.hxx>
00053 #endif
00054 class gp_Pnt;
00055 class Geom_Curve;
00056 class Geom_Surface;
00057 
00058 
00059 
00060 class GEOMAlgo_Clsf : public GEOMAlgo_HAlgo {
00061 
00062 public:
00063  // Methods PUBLIC
00064  // 
00065 
00066 
00067 Standard_EXPORT   void SetPnt(const gp_Pnt& aP) ;
00068 
00069 
00070 Standard_EXPORT  const gp_Pnt& Pnt() const;
00071 
00072 
00073 Standard_EXPORT   void SetTolerance(const Standard_Real aT) ;
00074 
00075 
00076 Standard_EXPORT   Standard_Real Tolerance() const;
00077 
00078 
00079 Standard_EXPORT   TopAbs_State State() const;
00080 
00081 
00082 Standard_EXPORT virtual  Standard_Boolean CanBeON(const Handle(Geom_Curve)& aCT) const;
00083 
00084 
00085 Standard_EXPORT virtual  Standard_Boolean CanBeON(const Handle(Geom_Surface)& aST) const;
00086 //Standard_EXPORT ~GEOMAlgo_Clsf();
00087 
00088 
00089 
00090 
00091  // Type management
00092  //
00093  Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
00094  //Standard_EXPORT Standard_Boolean            IsKind(const Handle(Standard_Type)&) const;
00095 
00096 protected:
00097 
00098  // Methods PROTECTED
00099  // 
00100 
00101 
00102 Standard_EXPORT GEOMAlgo_Clsf();
00103 Standard_EXPORT virtual ~GEOMAlgo_Clsf();
00104 
00105 
00106  // Fields PROTECTED
00107  //
00108 TopAbs_State myState;
00109 gp_Pnt myPnt;
00110 Standard_Real myTolerance;
00111 
00112 
00113 private: 
00114 
00115  // Methods PRIVATE
00116  // 
00117 
00118 
00119  // Fields PRIVATE
00120  //
00121 
00122 
00123 };
00124 
00125 
00126 
00127 
00128 
00129 // other Inline functions and methods (like "C++: function call" methods)
00130 //
00131 
00132 
00133 #endif
Copyright © 2007-2011 CEA/DEN, EDF R&D, OPEN CASCADE
Copyright © 2003-2007 OPEN CASCADE, EADS/CCR, LIP6, CEA/DEN, CEDRAT, EDF R&D, LEG, PRINCIPIA R&D, BUREAU VERITAS