(ImagePlus imp, double ox, double oy)
| 372 | } |
| 373 | |
| 374 | private void addPoint2(ImagePlus imp, double ox, double oy) { |
| 375 | double xbase = getXBase(); |
| 376 | double ybase = getYBase(); |
| 377 | xpf[nPoints] = (float)(ox-xbase); |
| 378 | ypf[nPoints] = (float)(oy-ybase); |
| 379 | xp2[nPoints] = (int)ox; |
| 380 | yp2[nPoints] = (int)oy; |
| 381 | nPoints++; |
| 382 | incrementCounter(imp); |
| 383 | lastPointTime = System.currentTimeMillis(); |
| 384 | } |
| 385 | |
| 386 | /** Adds a point to this PointRoi. */ |
| 387 | public PointRoi addPoint(double x, double y) { |
no test coverage detected