65 |
float[] pt = vs.coords.transformPoints3(into, new float[3], null); |
float[] pt = vs.coords.transformPoints3(into, new float[3], null); |
66 |
pt[0] += size[0]/2; |
pt[0] += size[0]/2; |
67 |
pt[1] += size[1]/2; |
pt[1] += size[1]/2; |
68 |
|
if (size[0] < 10 || size[1] <10) return; |
69 |
|
|
70 |
|
|
71 |
float[] pan = new float[]{1,1}; |
float[] pan = new float[]{1,1}; |
72 |
vs.coords.getSqSize(geom, pan); |
vs.coords.getSqSize(geom, pan); |
89 |
nodeview.getSize(n, bs, zoom); |
nodeview.getSize(n, bs, zoom); |
90 |
Pair matchKey = new Pair(container, n); |
Pair matchKey = new Pair(container, n); |
91 |
int box = vs.orthoCS(0, matchKey, pt[2]-.5f, |
int box = vs.orthoCS(0, matchKey, pt[2]-.5f, |
92 |
pt[0] + (pan[0] - coords[0] - bs[0]) * zoom, |
pt[0] + (pan[0] - coords[0])*zoom - bs[0], |
93 |
pt[1] + (pan[1] - coords[1] - bs[1]) * zoom, |
pt[1] + (pan[1] - coords[1])*zoom - bs[1], |
94 |
bs[0], bs[1]); |
bs[0], bs[1]); |
95 |
nodeview.place(n, vs, box); |
nodeview.place(n, vs, box); |
96 |
|
|