public static double getFlatnessSq(double[] coords, int offset)
public static double getFlatnessSq(double x1, double y1, double cx1, double cy1, double cx2, double cy2, double x2, double y2)
  public static double getFlatnessSq(double[] coords, int offset)  {    return getFlatnessSq(coords[offset++], coords[offset++], coords[offset++],                         coords[offset++], coords[offset++], coords[offset++],                         coords[offset++], coords[offset++]);  }