X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=src%2Fcoordinate.h;h=6e11b24bda3d3de236b3477f7ba12684f00653f7;hb=HEAD;hp=cac2a1a5e5fc9f119bea689af40b8187db601243;hpb=15c82487a77555b040f3f4e03bc11da8b9bc5905;p=lsystem3d.git diff --git a/src/coordinate.h b/src/coordinate.h index cac2a1a..6e11b24 100644 --- a/src/coordinate.h +++ b/src/coordinate.h @@ -1,6 +1,6 @@ // Copyright (C) 2006 Erik Dahlberg // -// This file is part of LSystem3d. +// This file is part of LSystem3D. // // LSystem3D is free software; you can redistribute it and/or // modify it under the terms of the GNU General Public License @@ -25,11 +25,12 @@ /** - * 3d coordinate + * 3D coordinate */ class Coordinate { public: + /** * Constructor */ @@ -40,6 +41,16 @@ public: */ ~Coordinate(); + + /** + * Set coordinate + * @param x the x-coordinate + * @param y the y-coordinate + * @param z the z-coordinate + */ + void setXYZ(double x, double y, double z); + + /** * Get x-coordinate * @return the x-coordinate @@ -57,14 +68,6 @@ public: * @return the z-coordinate */ double getZ(); - - /** - * Set coordinate - * @param x the x-coordinate - * @param y the y-coordinate - * @param z the z-coordinate - */ - void setXYZ(double x, double y, double z); protected: