Mercurial > dive4elements > river
changeset 4747:2a6d64a415e4
W80Parser: Put infrastructure for an anchor point in place.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 03 Jan 2013 09:58:16 +0100 |
parents | 0b60b77d4d00 |
children | ea8c3e6c9614 |
files | flys-backend/src/main/java/de/intevation/flys/importer/parsers/W80Parser.java |
diffstat | 1 files changed, 21 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/flys-backend/src/main/java/de/intevation/flys/importer/parsers/W80Parser.java Thu Jan 03 09:57:22 2013 +0100 +++ b/flys-backend/src/main/java/de/intevation/flys/importer/parsers/W80Parser.java Thu Jan 03 09:58:16 2013 +0100 @@ -5,6 +5,7 @@ import de.intevation.flys.importer.XY; import de.intevation.flys.utils.EpsilonComparator; +import de.intevation.flys.importer.parsers.tim.Coordinate; import java.io.File; import java.io.IOException; @@ -55,6 +56,26 @@ protected Map<Double, List<XY>> data; + /** Anchor to project to. */ + private class Anchor { + private Coordinate coordinate; + private double station; + public Anchor(Coordinate anchor, double station) { + this.coordinate = anchor; + this.station = station; + } + public double getStation() { + return station; + } + public Coordinate getCoordinate() { + return coordinate; + } + } + + + private Anchor anchor; + + /** Trivial constructor. */ public W80Parser() { data = new TreeMap<Double, List<XY>>(EpsilonComparator.CMP);