Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/raster/Vectorizer.java @ 778:9a828e5a2390
Removed trailing whitespace
gnv-artifacts/trunk@851 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 29 Mar 2010 07:58:51 +0000 |
parents | 92b7ccbf6163 |
children | b1f5f2a8840f |
comparison
equal
deleted
inserted
replaced
777:8009961db1cb | 778:9a828e5a2390 |
---|---|
18 | 18 |
19 public interface RingsHandler { | 19 public interface RingsHandler { |
20 | 20 |
21 void handleRings( | 21 void handleRings( |
22 List<Edge> rings, | 22 List<Edge> rings, |
23 int value, | 23 int value, |
24 int width, | 24 int width, |
25 int height); | 25 int height); |
26 | 26 |
27 } // interface RingsHandler | 27 } // interface RingsHandler |
28 | 28 |
77 } | 77 } |
78 | 78 |
79 public int length() { | 79 public int length() { |
80 int length = 0; | 80 int length = 0; |
81 Edge current = this; | 81 Edge current = this; |
82 do { ++length; } | 82 do { ++length; } |
83 while ((current = current.next) != null && current != this); | 83 while ((current = current.next) != null && current != this); |
84 return length; | 84 return length; |
85 } | 85 } |
86 | 86 |
87 public Edge head() { | 87 public Edge head() { |
327 | 327 |
328 current = stack.pop(); | 328 current = stack.pop(); |
329 } | 329 } |
330 | 330 |
331 handler.handleRings( | 331 handler.handleRings( |
332 rings, | 332 rings, |
333 currentValue, | 333 currentValue, |
334 width + 1, | 334 width + 1, |
335 height + 1); | 335 height + 1); |
336 | 336 |
337 resetRegion(); | 337 resetRegion(); |
338 } | 338 } |