00001 /*************************************************************************** 00002 point.h - description 00003 ------------------- 00004 begin : Fri Dec 12 2003 00005 copyright : (C) 2003 by Roman Geus 00006 email : roman.geus@psi.ch 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 POINT_H 00019 #define POINT_H 00020 00021 #include "entity.h" 00022 #include "vector3.h" 00023 00024 namespace mesh { 00025 00026 class TetMesh; 00027 00031 class Point : public Entity { 00032 public: 00034 Point(int id, double x, double y, double z); 00037 Vector3& get_coord() 00038 { return _coord; } 00039 private: 00041 Vector3 _coord; 00042 }; 00043 00044 } 00045 00046 #endif