Issue #237
Change-Id: Iab0716c7e09739cbb4a525111eb34ecc0594a388 Former-commit-id:b0ab548349
[formerlyf60d81202c
] [formerlyc2667bd719
] [formerly62dfc1f0b2
[formerlyc2667bd719
[formerly 3f252c7aa8fc5598f3f74c376c713150793868e5]]] Former-commit-id:62dfc1f0b2
Former-commit-id: 4af266f8c1d3a3f722e2b89bab828a72957ab576 [formerly687511035a
] Former-commit-id:ee525c5525
This commit is contained in:
parent
ac201730c8
commit
20d5c316ec
1 changed files with 6 additions and 5 deletions
|
@ -48,6 +48,7 @@ import com.raytheon.uf.viz.core.rsc.capabilities.OutlineCapability;
|
|||
* Date Ticket# Engineer Description
|
||||
* ------------ ---------- ----------- --------------------------
|
||||
* Jan 20, 2010 1783 mpduff Initial creation.
|
||||
* Jan 7, 2013 16578 snaples Updated initInternal line array to handle area where it is wider than tall.
|
||||
*
|
||||
* </pre>
|
||||
*
|
||||
|
@ -89,9 +90,9 @@ public class HRAPOverlayResource extends
|
|||
int minY = ge.getLow(1);
|
||||
int height = ge.getSpan(1) + 1;
|
||||
|
||||
for (int x = 0; x < width; ++x) {
|
||||
for (int x = 0; x < width; x++) {
|
||||
double[][] line = new double[height][];
|
||||
for (int y = 0; y < height; ++y) {
|
||||
for (int y = 0; y < height; y++) {
|
||||
double[] out = new double[2];
|
||||
mt.transform(new double[] { minX + x, minY + y }, 0, out,
|
||||
0, 1);
|
||||
|
@ -100,9 +101,9 @@ public class HRAPOverlayResource extends
|
|||
grid.addLineSegment(line);
|
||||
}
|
||||
|
||||
for (int y = 0; y < height; ++y) {
|
||||
double[][] line = new double[height][];
|
||||
for (int x = 0; x < width; ++x) {
|
||||
for (int y = 0; y < height; y++) {
|
||||
double[][] line = new double[width][];
|
||||
for (int x = 0; x < width; x++) {
|
||||
double[] out = new double[2];
|
||||
mt.transform(new double[] { minX + x, minY + y }, 0, out,
|
||||
0, 1);
|
||||
|
|
Loading…
Add table
Reference in a new issue