summaryrefslogtreecommitdiff
path: root/src/Hill.H
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2006-12-14 17:23:17 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2006-12-14 17:23:17 +0100
commit489bdd091ea9dae275717e95340a9fdd07dcba8c (patch)
tree414e271dae25ad7532ca20e829c4daf9b7c2e447 /src/Hill.H
parentc3a34dad14632abed6cc15679a57997f91b99560 (diff)
change Projection::comp_params() to allow a variable amount of known mountains
Diffstat (limited to 'src/Hill.H')
-rw-r--r--src/Hill.H8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/Hill.H b/src/Hill.H
index 2e95def..e9f5ce6 100644
--- a/src/Hill.H
+++ b/src/Hill.H
@@ -60,6 +60,8 @@ class Hills {
void add(Hill *m);
+ void remove(const Hill *m);
+
void add(Hills *h);
void sort_phi();
@@ -71,9 +73,11 @@ class Hills {
void clear();
void clobber();
+
+ int contains(const Hill *m) const;
- int get_num();
+ int get_num() const;
- Hill *get(int n);
+ Hill *get(int n) const;
};
#endif