comparison gnv-artifacts/src/main/java/de/intevation/gnv/raster/AbstractProducer.java @ 801:d766fe2d917a

More javadoc. gnv-artifacts/trunk@883 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Tue, 06 Apr 2010 16:53:43 +0000
parents f7038820df2e
children feae2f9d6c6f
comparison
equal deleted inserted replaced
800:db5b04ecb426 801:d766fe2d917a
1 package de.intevation.gnv.raster; 1 package de.intevation.gnv.raster;
2 2
3 import de.intevation.gnv.raster.Vectorizer.RingsHandler; 3 import de.intevation.gnv.raster.Vectorizer.RingsHandler;
4 4
5 /**
6 * Abstract base class for producing multi polygons and
7 * multi line strings. This base class stores a bounding box
8 * of world coordinates which helps to transform the index
9 * spaced egde data into real world coordinates.
10 *
11 * @author <a href="mailto:sascha.teichmann@intevation.de">Sascha L. Teichmann</a>
12 */
5 public abstract class AbstractProducer 13 public abstract class AbstractProducer
6 implements RingsHandler 14 implements RingsHandler
7 { 15 {
16 /**
17 * min x coord of the world.
18 */
8 protected double minX; 19 protected double minX;
20
21 /**
22 * min y coord of the world.
23 */
9 protected double minY; 24 protected double minY;
25
26 /**
27 * max x coord of the world.
28 */
10 protected double maxX; 29 protected double maxX;
30
31 /**
32 * max y coord of the world.
33 */
11 protected double maxY; 34 protected double maxY;
12 35
36 /**
37 * Default constructor.
38 */
13 public AbstractProducer() { 39 public AbstractProducer() {
14 } 40 }
15 41
42 /**
43 * Constructor to create an Abstract producer with a
44 * given world bounding box.
45 * @param minX Min x coord of the world.
46 * @param minY Min y coord of the world.
47 * @param maxX Max x coord of the world.
48 * @param maxY Max y coord of the world.
49 */
16 public AbstractProducer( 50 public AbstractProducer(
17 double minX, double minY, 51 double minX, double minY,
18 double maxX, double maxY 52 double maxX, double maxY
19 ) { 53 ) {
20 this.minX = minX; 54 this.minX = minX;

http://dive4elements.wald.intevation.org