Mercurial > dive4elements > river
view flys-backend/src/main/java/de/intevation/flys/importer/parsers/tim/Coordinate.java @ 4748:ea8c3e6c9614
Coordinate: Introduce getters for x/y.
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Thu, 03 Jan 2013 09:58:49 +0100 |
parents | ce6b9945bf8e |
children | 99f9e371371b |
line wrap: on
line source
package de.intevation.flys.importer.parsers.tim; /** X,Y,Z- triple. */ public class Coordinate { public double x; public double y; public double z; public Coordinate() { } public Coordinate(Coordinate c) { this(c.x, c.y, c.z); } public Coordinate(double x, double y) { this(x, y, 0d); } public Coordinate(double x, double y, double z) { this.x = x; this.y = y; this.z = z; } public double getX() { return this.x; } public double getY() { return this.y; } } // vim:set ts=4 sw=4 si et sta sts=4 fenc=utf8 :