From: Markus Schaber Date: Wed, 16 Nov 2005 13:04:30 +0000 (+0000) Subject: small comment improvements in Point.java X-Git-Tag: pgis_1_1_0~160 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d5e638f32ac6195ffd0f79d6a894f8caf84e213a;p=postgis small comment improvements in Point.java git-svn-id: http://svn.osgeo.org/postgis/trunk@2042 b70326c6-7e19-0410-871a-916f4a2858ee --- diff --git a/jdbc2/src/org/postgis/Point.java b/jdbc2/src/org/postgis/Point.java index 49a7ce318..bb8e87f07 100644 --- a/jdbc2/src/org/postgis/Point.java +++ b/jdbc2/src/org/postgis/Point.java @@ -83,16 +83,21 @@ public class Point extends Geometry { /** * The X coordinate of the point. + * In most long/lat systems, this is the longitude. */ public double x; /** * The Y coordinate of the point. + * In most long/lat systems, this is the latitude. */ public double y; /** * The Z coordinate of the point. + * In most long/lat systems, this is a radius from the + * center of the earth, or the height / elevation over + * the ground. */ public double z; @@ -105,6 +110,11 @@ public class Point extends Geometry { super(POINT); } + /** Constructs a new Point + * @param x the longitude / x ordinate + * @param y the latitude / y ordinate + * @param z the radius / height / elevation / z ordinate + */ public Point(double x, double y, double z) { this(); this.x = x; @@ -113,6 +123,10 @@ public class Point extends Geometry { dimension = 3; } + /** Constructs a new Point + * @param x the longitude / x ordinate + * @param y the latitude / y ordinate + */ public Point(double x, double y) { this(); this.x = x;