Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/artifacts/WINFOArtifact.java @ 1142:01d42a2454f6
Display real km of shown data in crosssection-diagram.
flys-artifacts/trunk@2664 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Felix Wolfsteller <felix.wolfsteller@intevation.de> |
---|---|
date | Wed, 07 Sep 2011 10:51:54 +0000 |
parents | 6d9b08b958e2 |
children | b33a350d79db |
comparison
equal
deleted
inserted
replaced
1141:bcba246d9c03 | 1142:01d42a2454f6 |
---|---|
680 return oldLine; | 680 return oldLine; |
681 } | 681 } |
682 | 682 |
683 | 683 |
684 /** | 684 /** |
685 * Get km for which a CrossSection is actually available (this may vary | |
686 * from the user picked "cross_section.km" data). | |
687 * | |
688 * @return km for which cross section is calculated. | |
689 */ | |
690 public double getCrossSectionSnapKm() { | |
691 // Note that this is this triggers a linear search. | |
692 return searchCrossSectionKmLine().getKm().doubleValue(); | |
693 } | |
694 | |
695 | |
696 /** | |
685 * Get points of Profile of cross section. | 697 * Get points of Profile of cross section. |
686 * | 698 * |
687 * @return an array holding coordinates of points of profile ( | 699 * @return an array holding coordinates of points of profile ( |
688 * in the form {{x1, x2} {y1, y2}} ). | 700 * in the form {{x1, x2} {y1, y2}} ). |
689 */ | 701 */ |