summaryrefslogtreecommitdiff
path: root/parsecalldata.pde
diff options
context:
space:
mode:
Diffstat (limited to 'parsecalldata.pde')
-rw-r--r--parsecalldata.pde7
1 files changed, 6 insertions, 1 deletions
diff --git a/parsecalldata.pde b/parsecalldata.pde
index 38bcd1e..ccedc4f 100644
--- a/parsecalldata.pde
+++ b/parsecalldata.pde
@@ -41,6 +41,11 @@ class country {
if (searching==0) return np;
else return new RPoint(0,0);
}
+ RPoint getcentre() {
+ RPoint tl=outline.getTopLeft();
+ RPoint br=outline.getBottomRight();
+ return new RPoint((tl.x+br.x)/2,(tl.y+br.y)/2);
+ }
}
class weightedpixel {
@@ -167,7 +172,7 @@ class calldata {
for (int i=0; i < countries.size(); i++) {
//if (DEBUG) countries.get(i).printOut();
- countries.get(i).analyse(18.279,746.302,109,374.293); //129.314
+ //countries.get(i).analyse(18.279,746.302,109,374.293); //129.314
}
}