@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; if (!super.equals(o)) return false; LatLon other = (LatLon) o; if (!Misc.nearlyEqualsAbs(la1, other.la1, maxReletiveErrorPos * deltaLat)) return false; // allow some slop, reletive to grid size if (!Misc.nearlyEqualsAbs(lo1, other.lo1, maxReletiveErrorPos * deltaLon)) return false; if (!Misc.nearlyEqualsAbs(la2, other.la2, maxReletiveErrorPos * deltaLat)) return false; if (!Misc.nearlyEqualsAbs(lo2, other.lo2, maxReletiveErrorPos * deltaLon)) return false; return true; }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; if (!super.equals(o)) return false; Mercator that = (Mercator) o; if (!Misc.nearlyEqualsAbs(la1, that.la1, maxReletiveErrorPos * dY)) return false; // allow some slop, reletive to grid size if (!Misc.nearlyEqualsAbs(lo1, that.lo1, maxReletiveErrorPos * dX)) return false; if (!Misc.nearlyEqualsAbs(lad, that.lad, maxReletiveErrorPos * dY)) return false; if (!Misc.nearlyEquals(dY, that.dY)) return false; if (!Misc.nearlyEquals(dX, that.dX)) return false; return true; }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; if (!super.equals(o)) return false; LatLon other = (LatLon) o; if (!Misc.nearlyEqualsAbs(la1, other.la1, maxReletiveErrorPos * deltaLat)) return false; // allow some slop, reletive to grid size if (!Misc.nearlyEqualsAbs(lo1, other.lo1, maxReletiveErrorPos * deltaLon)) return false; if (!Misc.nearlyEquals(deltaLat, other.deltaLat)) return false; if (!Misc.nearlyEquals(deltaLon, other.deltaLon)) return false; return true; }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; if (!super.equals(o)) return false; Mercator that = (Mercator) o; if (!Misc.nearlyEqualsAbs(la1, that.la1, maxReletiveErrorPos * dY)) return false; // allow some slop, reletive to grid size if (!Misc.nearlyEqualsAbs(lo1, that.lo1, maxReletiveErrorPos * dX)) return false; if (!Misc.nearlyEquals(latin, that.latin)) return false; if (!Misc.nearlyEquals(dY, that.dY)) return false; if (!Misc.nearlyEquals(dX, that.dX)) return false; return true; }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; if (!super.equals(o)) return false; PolarStereographic that = (PolarStereographic) o; if (!Misc.nearlyEqualsAbs(la1, that.la1, maxReletiveErrorPos * dY)) return false; // allow some slop, reletive to grid size if (!Misc.nearlyEqualsAbs(lo1, that.lo1, maxReletiveErrorPos * dX)) return false; if (!Misc.nearlyEquals(lov, that.lov)) return false; if (!Misc.nearlyEquals(dY, that.dY)) return false; if (!Misc.nearlyEquals(dX, that.dX)) return false; if (projCenterFlag != that.projCenterFlag) return false; return true; }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; if (!super.equals(o)) return false; PolarStereographic that = (PolarStereographic) o; if (!Misc.nearlyEqualsAbs(la1, that.la1, maxReletiveErrorPos * dY)) return false; // allow some slop, reletive to grid size if (!Misc.nearlyEqualsAbs(lo1, that.lo1, maxReletiveErrorPos * dX)) return false; if (!Misc.nearlyEquals(lad, that.lad)) return false; if (!Misc.nearlyEquals(lov, that.lov)) return false; if (!Misc.nearlyEquals(dY, that.dY)) return false; if (!Misc.nearlyEquals(dX, that.dX)) return false; if (projCenterFlag != that.projCenterFlag) return false; return true; }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; if (!super.equals(o)) return false; LambertConformal that = (LambertConformal) o; if (!Misc.nearlyEqualsAbs(la1, that.la1, maxReletiveErrorPos * dY)) return false; // allow some slop, relative to grid size if (!Misc.nearlyEqualsAbs(lo1, that.lo1, maxReletiveErrorPos * dX)) return false; if (!Misc.nearlyEquals(lad, that.lad)) return false; if (!Misc.nearlyEquals(lov, that.lov)) return false; if (!Misc.nearlyEquals(dY, that.dY)) return false; if (!Misc.nearlyEquals(dX, that.dX)) return false; if (!Misc.nearlyEquals(latin1, that.latin1)) return false; if (!Misc.nearlyEquals(latin2, that.latin2)) return false; return true; }
@Override public boolean equals(Object o) { if (this == o) return true; if (o == null || getClass() != o.getClass()) return false; if (!super.equals(o)) return false; LambertConformal that = (LambertConformal) o; if (!Misc.nearlyEqualsAbs(la1, that.la1, maxReletiveErrorPos * dY)) return false; // allow some slop, reletive to grid size if (!Misc.nearlyEqualsAbs(lo1, that.lo1, maxReletiveErrorPos * dX)) return false; if (!Misc.nearlyEquals(lad, that.lad)) return false; if (!Misc.nearlyEquals(lov, that.lov)) return false; if (!Misc.nearlyEquals(dY, that.dY)) return false; if (!Misc.nearlyEquals(dX, that.dX)) return false; if (!Misc.nearlyEquals(latin1, that.latin1)) return false; if (!Misc.nearlyEquals(latin2, that.latin2)) return false; return true; }