00001 00011 #ifndef __CAD_MODEL_H__ 00012 #define __CAD_MODEL_H__ 00013 00014 #include <cad/container/faces.h> 00015 #include <point.h> 00016 00026 class CadModel : public Faces { 00027 public: 00031 CadModel(); 00032 00042 void add(Element object, Color color); 00043 00050 Point getMaxPoint(); 00051 00058 Point getMinPoint(); 00059 00066 Color getObjColor() throw (OutOfModelException*); 00067 00076 void print(); 00077 00078 private: 00084 Point maxPoint; 00085 00091 Point minPoint; 00092 00096 Color objColor; 00097 00098 }; // class CadModel 00099 00100 #endif // ! __CAD_MODEL_H__