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

Method debug

ij/src/main/java/ij/gui/PointRoi.java:857–869  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

855 }
856
857 private void debug() {
858 FloatPolygon p = getFloatPolygon();
859 ResultsTable rt = new ResultsTable();
860 for (int i=0; i<nPoints; i++) {
861 if (counters!=null) {
862 rt.setValue("Counter", i, counters[i]);
863 rt.setValue("Position", i, positions[i]);
864 }
865 rt.setValue("X", i, p.xpoints[i]);
866 rt.setValue("Y", i, p.ypoints[i]);
867 }
868 rt.show(getCountsTitle());
869 }
870
871 private String getCountsTitle() {
872 return "Counts_"+(imp!=null?imp.getTitle():"");

Callers 1

displayCountsMethod · 0.95

Calls 4

setValueMethod · 0.95
showMethod · 0.95
getCountsTitleMethod · 0.95
getFloatPolygonMethod · 0.45

Tested by

no test coverage detected