66 |
pt[0] += size[0]/2; |
pt[0] += size[0]/2; |
67 |
pt[1] += size[1]/2; |
pt[1] += size[1]/2; |
68 |
|
|
|
|
|
69 |
float[] pan = new float[]{1,1}; |
float[] pan = new float[]{1,1}; |
70 |
vs.coords.getSqSize(geom, pan); |
vs.coords.getSqSize(geom, pan); |
71 |
float zoom = (vs.coords.transformPoints3(geom, new float[3], null))[0]/100000; |
float zoom = (vs.coords.transformPoints3(geom, new float[3], null))[0]/100000; |
72 |
|
|
|
pa("pan x/y: " +pan[0]+ "/"+pan[1]); |
|
|
|
|
73 |
float[] bs = new float[2]; |
float[] bs = new float[2]; |
74 |
cursorBox = -1; |
cursorBox = -1; |
75 |
|
|
|
|
|
76 |
Selector slctr = new SelectorImpl((Resource)container, cont, (RDFNode) null); |
Selector slctr = new SelectorImpl((Resource)container, cont, (RDFNode) null); |
77 |
StmtIterator iter = model.listStatements(slctr); |
StmtIterator iter = model.listStatements(slctr); |
78 |
Statement stmt = null; |
Statement stmt = null; |
86 |
|
|
87 |
nodeview.getSize(n, bs, zoom); |
nodeview.getSize(n, bs, zoom); |
88 |
Pair matchKey = new Pair(container, n); |
Pair matchKey = new Pair(container, n); |
89 |
int box = vs.orthoCS(0, matchKey, 50, |
int box = vs.orthoCS(0, matchKey, pt[2]-.5f, |
90 |
pt[0] + (pan[0] + coords[0]) * zoom, |
pt[0] + (pan[0] + coords[0]) * zoom, |
91 |
pt[1] + (pan[1] + coords[1]) * zoom, |
pt[1] + (pan[1] + coords[1]) * zoom, |
92 |
bs[0], bs[1]); |
bs[0], bs[1]); |