(double x1, double y1, double x2, double y2)
| 981 | } |
| 982 | |
| 983 | @AstroImageJ(reason = "Access widen for Vector Plot saving", modified = true) |
| 984 | public static double calculateDistance(double x1, double y1, double x2, double y2) { |
| 985 | return java.lang.Math.sqrt((x2 - x1)*(double)(x2 - x1) + (y2 - y1)*(double)(y2 - y1)); |
| 986 | } |
| 987 | |
| 988 | /** Adds a set of vectors to the plot using double ArrayLists. |
| 989 | * Does not support logarithmic axes. |
no test coverage detected