1 // Copyright (C) 2006 Erik Dahlberg
3 // This file is part of LSystem3d.
5 // LSystem3D is free software; you can redistribute it and/or
6 // modify it under the terms of the GNU General Public License
7 // as published by the Free Software Foundation; either version 2
8 // of the License, or (at your option) any later version.
10 // LSystem3D is distributed in the hope that it will be useful,
11 // but WITHOUT ANY WARRANTY; without even the implied warranty of
12 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 // GNU General Public License for more details.
15 // You should have received a copy of the GNU General Public License
16 // along with LSystem3D; if not, write to the Free Software
17 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
22 #include "coordinate.h"
29 Coordinate::Coordinate()
31 setXYZ(0.0, 0.0, 0.0);
39 Coordinate::~Coordinate()
47 * @param x the x-coordinate
48 * @param y the y-coordinate
49 * @param z the z-coordinate
51 void Coordinate::setXYZ(double x
, double y
, double z
)
62 * @return the x-coordinate
64 double Coordinate::getX()
73 * @return the y-coordinate
75 double Coordinate::getY()
84 * @return the z-coordinate
86 double Coordinate::getZ()