Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/geom/Polygon2D.java @ 1800:1402991208d5
Polygon2D: made it compilable again.
flys-artifacts/trunk@3124 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Mon, 31 Oct 2011 16:04:59 +0000 |
parents | 281b9430c720 |
children | 6f83d9d434f2 |
comparison
equal
deleted
inserted
replaced
1799:281b9430c720 | 1800:1402991208d5 |
---|---|
46 | 46 |
47 public Polygon2D() { | 47 public Polygon2D() { |
48 points = new ArrayList<Point2D>(); | 48 points = new ArrayList<Point2D>(); |
49 } | 49 } |
50 | 50 |
51 public Point2D(List<Point2D> points) { | 51 public Polygon2D(List<Point2D> points) { |
52 this.points = points; | 52 this.points = points; |
53 } | 53 } |
54 | 54 |
55 public void add(double x, double y) { | 55 public void add(double x, double y) { |
56 points.add(new Point2D.Double(x, y)); | 56 points.add(new Point2D.Double(x, y)); |