Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023 #ifndef _GEOMAlgo_ClsfBox_HeaderFile
00024 #define _GEOMAlgo_ClsfBox_HeaderFile
00025
00026 #ifndef _Standard_HeaderFile
00027 #include <Standard.hxx>
00028 #endif
00029 #ifndef _Handle_GEOMAlgo_ClsfBox_HeaderFile
00030 #include <Handle_GEOMAlgo_ClsfBox.hxx>
00031 #endif
00032
00033 #ifndef _TopoDS_Shape_HeaderFile
00034 #include <TopoDS_Shape.hxx>
00035 #endif
00036 #ifndef _GeomAdaptor_Surface_HeaderFile
00037 #include <GeomAdaptor_Surface.hxx>
00038 #endif
00039 #ifndef _GEOMAlgo_Clsf_HeaderFile
00040 #include <GEOMAlgo_Clsf.hxx>
00041 #endif
00042 #ifndef _Standard_Boolean_HeaderFile
00043 #include <Standard_Boolean.hxx>
00044 #endif
00045 #ifndef _Handle_Geom_Curve_HeaderFile
00046 #include <Handle_Geom_Curve.hxx>
00047 #endif
00048 #ifndef _Handle_Geom_Surface_HeaderFile
00049 #include <Handle_Geom_Surface.hxx>
00050 #endif
00051 class TopoDS_Shape;
00052 class Geom_Curve;
00053 class Geom_Surface;
00054
00055
00056
00057 class GEOMAlgo_ClsfBox : public GEOMAlgo_Clsf {
00058
00059 public:
00060
00061
00062
00063
00064 Standard_EXPORT GEOMAlgo_ClsfBox();
00065 Standard_EXPORT virtual ~GEOMAlgo_ClsfBox();
00066
00067
00068 Standard_EXPORT void SetBox(const TopoDS_Shape& aS) ;
00069
00070
00071 Standard_EXPORT const TopoDS_Shape& Box() const;
00072
00073
00074 Standard_EXPORT virtual void Perform() ;
00075
00076
00077 Standard_EXPORT virtual void CheckData() ;
00078
00079
00080 Standard_EXPORT virtual Standard_Boolean CanBeON(const Handle(Geom_Curve)& aC) const;
00081
00082
00083 Standard_EXPORT virtual Standard_Boolean CanBeON(const Handle(Geom_Surface)& aST) const;
00084
00085
00086
00087
00088
00089
00090
00091 Standard_EXPORT const Handle(Standard_Type)& DynamicType() const;
00092
00093
00094 protected:
00095
00096
00097
00098
00099
00100
00101
00102 TopoDS_Shape myBox;
00103 GeomAdaptor_Surface myGAS[6];
00104
00105
00106 private:
00107
00108
00109
00110
00111
00112
00113
00114
00115
00116 };
00117
00118
00119
00120
00121
00122
00123
00124
00125
00126 #endif