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

Method drawPlotVectors

ij/src/main/java/ij/macro/Functions.java:2609–2616  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2607 }
2608
2609 double drawPlotVectors() {
2610 double[] x1 = getFirstArray();
2611 double[] y1 = getNextArray();
2612 double[] x2 = getNextArray();
2613 double[] y2 = getLastArray();
2614 plot.drawVectors(x1, y1, x2, y2);
2615 return Double.NaN;
2616 }
2617
2618 //Example 10 boxes: ArrayList has 10 elements, each holding a float[6] for coordinates
2619 //Example 10 rectangles: ArrayList has 10 elements, each holding a float[4] for the corners

Callers 1

doPlotMethod · 0.95

Calls 4

getFirstArrayMethod · 0.95
getNextArrayMethod · 0.95
getLastArrayMethod · 0.95
drawVectorsMethod · 0.80

Tested by

no test coverage detected