MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / addUserPoint

Method addUserPoint

ij/src/main/java/ij/gui/PointRoi.java:368–372  ·  view source on GitHub ↗
(ImagePlus imp, double ox, double oy)

Source from the content-addressed store, hash-verified

366
367
368 public void addUserPoint(ImagePlus imp, double ox, double oy) {
369 addPoint(imp, ox, oy);
370 nMarkers++;
371 record((int)Math.round(ox),(int)Math.round(oy), true);
372 }
373
374 private void addPoint2(ImagePlus imp, double ox, double oy) {
375 double xbase = getXBase();

Callers 2

makePointMethod · 0.80
handleRoiMouseDownMethod · 0.80

Calls 3

addPointMethod · 0.95
recordMethod · 0.95
roundMethod · 0.45

Tested by

no test coverage detected