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
00024
00025
00026
00027 #ifndef GEOMAlgo_FinderShapeOnQuad_HeaderFile
00028 #define GEOMAlgo_FinderShapeOnQuad_HeaderFile
00029
00030 #include "GEOMAlgo_FinderShapeOn1.hxx"
00031
00032 #include <gp_Vec.hxx>
00033
00034 #include <vector>
00035
00036
00037 class GEOMAlgo_FinderShapeOnQuad: public GEOMAlgo_FinderShapeOn1
00038 {
00039 public:
00040
00041 Standard_EXPORT
00042 GEOMAlgo_FinderShapeOnQuad(const gp_Pnt & theTopLeftPoint,
00043 const gp_Pnt & theTopRigthPoint,
00044 const gp_Pnt & theBottomLeftPoint,
00045 const gp_Pnt & theBottomRigthPoint);
00046
00047 protected:
00048
00049 virtual void CheckData() ;
00050
00051 virtual TopAbs_State GetPointState(const gp_Pnt& aP) ;
00052
00053 private:
00054
00055 bool myConcaveQuad;
00056 std::vector<bool> myConcaveSide;
00057 std::vector<gp_Pnt> myPoints;
00058 std::vector<GeomAdaptor_Surface> myPlanes;
00059 gp_Vec myQuadNormal;
00060 };
00061 #endif