*** empty log message ***
[lsystem3d.git] / src / coordinate.cpp
index 026addb05df119112436674d20a18cafab1087a5..ffef1c7e0a4b0b37da4bac378d8c5a5d6aac14bd 100644 (file)
@@ -42,6 +42,21 @@ Coordinate::~Coordinate()
 
 
 
+/**
+ * Set coordinate
+ * @param x the x-coordinate
+ * @param y the y-coordinate
+ * @param z the z-coordinate
+ */
+void Coordinate::setXYZ(double x, double y, double z)
+{
+    _x = x;
+    _y = y;
+    _z = z;
+}
+
+
+
 /**
  * Get x-coordinate
  * @return the x-coordinate
@@ -72,18 +87,3 @@ double Coordinate::getZ()
 {
     return _z;
 }
-
-
-
-/**
- * Set coordinate
- * @param x the x-coordinate
- * @param y the y-coordinate
- * @param z the z-coordinate
- */
-void Coordinate::setXYZ(double x, double y, double z)
-{
-    _x = x;
-    _y = y;
-    _z = z;
-}