List of utility methods to do Array Distance
Double | findMaxDistance24(Double[] quad2, Double[] quad4) Finds the maximum separation between two points that are in quadrant2 and quadrant4. if (quad2.length == 0 || quad4.length == 0) { angleZero = Double.NaN; angleMax = Double.NaN; return UNDEFINED; return findMaxDistance13(quad2, quad4); |
Double | findMaxDistanceAA(Double[] quadA) Finds the maximum separation between two points that are in the same quadrant. if (quadA.length == 0) { angleZero = Double.NaN; angleMax = Double.NaN; return UNDEFINED; Double maxDistance = UNDEFINED; angleZero = quadA[0].doubleValue(); angleMax = quadA[quadA.length - 1].doubleValue(); ... |