class GeneralEnvelope extends AbstractEnvelope implements Cloneable, Serializable {

    @Override
    public boolean equals(final Object object) {
        if (object != null && object.getClass().equals(getClass())) {
            final GeneralEnvelope that = (GeneralEnvelope) object;
            return Arrays.equals(this.ordinates, that.ordinates)
                    && Utilities.equals(this.crs, that.crs);
        }
        return false;
    }

    public  GeneralEnvelope(final int dimension);
    public  GeneralEnvelope(final double min, final double max);
    public  GeneralEnvelope(final double[] minDP, final double[] maxDP);
    public  GeneralEnvelope(final GeneralDirectPosition minDP, final GeneralDirectPosition maxDP);
    public  GeneralEnvelope(final CoordinateReferenceSystem crs);
    public  GeneralEnvelope(final Envelope envelope);
    public  GeneralEnvelope(final GeographicBoundingBox box);
    public  GeneralEnvelope(final Rectangle2D rect);
    public  GeneralEnvelope(final GridEnvelope gridRange, final PixelInCell anchor,
            final MathTransform gridToCRS, final CoordinateReferenceSystem crs);

}