Mercurial > dive4elements > gnv-client
comparison gnv-artifacts/src/main/java/de/intevation/gnv/math/GridCell.java @ 815:22c18083225e
Removed compiler warnings while JavaDoc generation.
gnv-artifacts/trunk@900 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Ingo Weinzierl <ingo.weinzierl@intevation.de> |
---|---|
date | Mon, 12 Apr 2010 06:59:33 +0000 |
parents | a645bd23c1c8 |
children | f953c9a559d8 |
comparison
equal
deleted
inserted
replaced
814:9d427dd2a96a | 815:22c18083225e |
---|---|
147 polygon = GEOMETRY_FACTORY.createPolygon(shell, null); | 147 polygon = GEOMETRY_FACTORY.createPolygon(shell, null); |
148 } | 148 } |
149 | 149 |
150 /** | 150 /** |
151 * Returns the envelope of the four point polygon. | 151 * Returns the envelope of the four point polygon. |
152 * @return | 152 * @return the envelope. |
153 */ | 153 */ |
154 public Envelope getEnvelope() { | 154 public Envelope getEnvelope() { |
155 return polygon.getEnvelopeInternal(); | 155 return polygon.getEnvelopeInternal(); |
156 } | 156 } |
157 | 157 |
158 /** | 158 /** |
159 * Test if a given point is inside this grid cell. | 159 * Test if a given point is inside this grid cell. |
160 * @param coord | 160 * @param coord |
161 * @return | 161 * @return true, if this grid cell contains the given point - otherwise |
162 * false. | |
162 */ | 163 */ |
163 public boolean contains(Geometry coord) { | 164 public boolean contains(Geometry coord) { |
164 return polygon.contains(coord); | 165 return polygon.contains(coord); |
165 } | 166 } |
166 | 167 |