00001 /*************************************************************************** 00002 geometry.h - description 00003 ------------------- 00004 begin : Sat Mar 1 2003 00005 copyright : (C) 2003 by Moritz Franosch 00006 email : mail@Franosch.org 00007 ***************************************************************************/ 00008 00009 /*************************************************************************** 00010 * * 00011 * This program is free software; you can redistribute it and/or modify * 00012 * it under the terms of the GNU General Public License as published by * 00013 * the Free Software Foundation; either version 2 of the License, or * 00014 * (at your option) any later version. * 00015 * * 00016 ***************************************************************************/ 00017 00018 #ifndef GEOMETRY_H 00019 #define GEOMETRY_H 00020 00021 00022 #include "particle.h" 00023 00024 00029 class Geometry { 00030 00031 public: 00032 00035 virtual bool operator()(const Particle::vector_t& p) const =0; 00036 00039 virtual void to_xml(std::ostream& o)=0; 00040 00043 virtual ~Geometry(); 00044 00045 }; 00046 00047 00048 #endif // GEOMETRY_H