Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/StaticWKmsArtifact.java @ 4482:b5624ef2808f
Merged
author | Christian Lins <christian.lins@intevation.de> |
---|---|
date | Tue, 13 Nov 2012 16:14:44 +0100 |
parents | 6153c50f78cf |
children | a2735a4bf75e |
comparison
equal
deleted
inserted
replaced
4481:d9e3660fa462 | 4482:b5624ef2808f |
---|---|
5 import de.intevation.artifactdatabase.state.FacetActivity; | 5 import de.intevation.artifactdatabase.state.FacetActivity; |
6 import de.intevation.artifactdatabase.state.State; | 6 import de.intevation.artifactdatabase.state.State; |
7 | 7 |
8 import de.intevation.artifacts.Artifact; | 8 import de.intevation.artifacts.Artifact; |
9 import de.intevation.artifacts.ArtifactFactory; | 9 import de.intevation.artifacts.ArtifactFactory; |
10 import de.intevation.artifacts.CallContext; | |
10 import de.intevation.artifacts.CallMeta; | 11 import de.intevation.artifacts.CallMeta; |
11 | 12 |
12 import de.intevation.artifacts.common.utils.XMLUtils; | 13 import de.intevation.artifacts.common.utils.XMLUtils; |
13 | 14 |
14 import de.intevation.flys.artifacts.geom.Lines; | 15 import de.intevation.flys.artifacts.geom.Lines; |
384 * | 385 * |
385 * @param idx Index of facet and in wkms array. | 386 * @param idx Index of facet and in wkms array. |
386 * @param csl FastCrossSectionLine to compute water surface agains. | 387 * @param csl FastCrossSectionLine to compute water surface agains. |
387 * @param next The km of the next crosssectionline. | 388 * @param next The km of the next crosssectionline. |
388 * @param prev The km of the previous crosssectionline. | 389 * @param prev The km of the previous crosssectionline. |
390 * @param context Ignored in this implementation. | |
389 * | 391 * |
390 * @return an array holding coordinates of points of surface of water ( | 392 * @return an array holding coordinates of points of surface of water ( |
391 * in the form {{x1, x2}, {y1, y2}} ). | 393 * in the form {{x1, x2}, {y1, y2}} ). |
392 */ | 394 */ |
393 @Override | 395 @Override |
394 public Lines.LineData getWaterLines(int idx, FastCrossSectionLine csl, | 396 public Lines.LineData getWaterLines(int idx, FastCrossSectionLine csl, |
395 double next, double prev | 397 double next, double prev, CallContext context |
396 ) { | 398 ) { |
397 logger.debug("getWaterLines(" + idx + ")/" + identifier()); | 399 logger.debug("getWaterLines(" + idx + ")/" + identifier()); |
398 | 400 |
399 List<Point2D> points = csl.getPoints(); | 401 List<Point2D> points = csl.getPoints(); |
400 | 402 |