X-Git-Url: https://git.piment-noir.org/?p=lsystem3d.git;a=blobdiff_plain;f=src%2Fcoordinate.h;h=70c990a6e651b503090b2d176269fdb131278fbb;hp=cac2a1a5e5fc9f119bea689af40b8187db601243;hb=526db67540bf69a4c09ed0d0f4d62bad0a37ee70;hpb=3025996ba17bf59f5bc64def5d55b95c4d732a8a diff --git a/src/coordinate.h b/src/coordinate.h index cac2a1a..70c990a 100644 --- a/src/coordinate.h +++ b/src/coordinate.h @@ -30,6 +30,7 @@ class Coordinate { public: + /** * Constructor */ @@ -40,6 +41,14 @@ 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 +66,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: