public boolean equals(Object obj){
  if (obj == null) {
    return false;
  }
  if (getClass() != obj.getClass()) {
    return false;
  }
  final LatLonPoint pt=(LatLonPoint)obj;
  return (MoreMath.approximately_equal(getY(),pt.getY()) && MoreMath.approximately_equal(getX(),pt.getX()));
}

public boolean equals ( Object obj ) { if ( obj == null ) { return false ; } if ( getClass ( ) != obj . getClass ( ) ) { return false ; } final LatLonPoint pt = ( LatLonPoint ) obj ; return ( MoreMath . approximately_equal ( getY ( ) , pt . getY ( ) ) && MoreMath . approximately_equal ( getX ( ) , pt . getX ( ) ) ) ; }
determines whether two latlonpoints are equal .
