|
|
/*************************************************************************** vim:tabstop=4 object.h - description ------------------- begin : Sun Jul 1 2001 copyright : (C) 2001 by Francois Biot email : fbiot@free.fr ***************************************************************************/ /*************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #ifndef _object_ #define _object_ #include "glsolid.h" #include "vect.h" #include "CList.h" // An object is any kind of object that // contains a set of glsurace // These surfaces must be closed // unless the IsInside method will fail class object : public glsolid { public: object(const CString& sName) : glsolid(sName) {}; virtual ~object(){}; // from glsurface virtual glsurface* Duplicate() const; // from glsolid virtual bool IsInside (const point &p) const; // methods }; #endif
Generated by: saturn on FrancoisLinux on Sun Feb 3 20:01:44 2002, using kdoc 2.0a53. |