00001 /*************************************************************************** 00002 point.cpp - 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 #include "point.h" 00019 00020 namespace mesh { 00021 00022 Point::Point(int id, double x, double y, double z) 00023 : Entity(id) 00024 { 00025 _coord[0] = x; 00026 _coord[1] = y; 00027 _coord[2] = z; 00028 } 00029 00030 } // namespace mesh