diff options
Diffstat (limited to 'src/Hill.cxx')
-rw-r--r-- | src/Hill.cxx | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/Hill.cxx b/src/Hill.cxx index 9c39779..626e470 100644 --- a/src/Hill.cxx +++ b/src/Hill.cxx @@ -41,6 +41,22 @@ Hill::Hill(const char *n, double p, double l, double h) { flags = 0; } +Hill::Hill(const Hill& h) { + name = strdup(h.name); + phi = h.phi; + lam = h.lam; + height = h.height; + alph = h.alph; + a_view = h.a_view; + a_view = h.a_view; + dist = h.dist; + x = h.x; + y = h.y; + label_x = h.label_x; + label_y = h.label_y; + flags = h.flags; +} + Hill::Hill(int x_tmp, int y_tmp) { name = ""; phi = 0.0; |