()
| 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():""); |
no test coverage detected