[Dive4elements-commits] [PATCH 01 of 10] Doc

Wald Commits scm-commit at wald.intevation.org
Thu Jan 3 10:16:17 CET 2013


# HG changeset patch
# User Felix Wolfsteller <felix.wolfsteller at intevation.de>
# Date 1356703435 -3600
# Node ID ce6b9945bf8e17b71eba9212f9ec4bdb0d0a8ca0
# Parent  f6d0ad25f1ee81104afbb482e6801466f7fd86c4
Doc.

diff -r f6d0ad25f1ee -r ce6b9945bf8e flys-backend/src/main/java/de/intevation/flys/importer/parsers/tim/Coordinate.java
--- a/flys-backend/src/main/java/de/intevation/flys/importer/parsers/tim/Coordinate.java	Wed Jan 02 15:42:22 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/parsers/tim/Coordinate.java	Fri Dec 28 15:03:55 2012 +0100
@@ -1,5 +1,6 @@
 package de.intevation.flys.importer.parsers.tim;
 
+/** X,Y,Z- triple. */
 public class Coordinate
 {
     public double x;
diff -r f6d0ad25f1ee -r ce6b9945bf8e flys-backend/src/main/java/de/intevation/flys/importer/parsers/tim/Line.java
--- a/flys-backend/src/main/java/de/intevation/flys/importer/parsers/tim/Line.java	Wed Jan 02 15:42:22 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/importer/parsers/tim/Line.java	Fri Dec 28 15:03:55 2012 +0100
@@ -1,5 +1,6 @@
 package de.intevation.flys.importer.parsers.tim;
 
+/** Two coordinates and a helper. */
 public class Line {
 
     public Coordinate a;
diff -r f6d0ad25f1ee -r ce6b9945bf8e flys-backend/src/main/java/de/intevation/flys/utils/EpsilonComparator.java
--- a/flys-backend/src/main/java/de/intevation/flys/utils/EpsilonComparator.java	Wed Jan 02 15:42:22 2013 +0100
+++ b/flys-backend/src/main/java/de/intevation/flys/utils/EpsilonComparator.java	Fri Dec 28 15:03:55 2012 +0100
@@ -2,10 +2,12 @@
 
 import java.util.Comparator;
 
+/** Comparator with some tolerance (epsilon). */
 public class EpsilonComparator implements Comparator<Double>
 {
     public static final double EPSILON = 1e-4;
 
+    /** Ready-made comparator with 1e-4 tolerance. */
     public static final EpsilonComparator CMP = new EpsilonComparator(EPSILON);
 
     private double epsilon;


More information about the Dive4elements-commits mailing list