/** * Sets the right X coordinate. * * @param x * The X coordinate of the right corner. */ public void setXMax(double x) { _touch(); m_envelope.xmax = x; }
/** * Sets the bottom Y coordinate. * * @param y * the Y coordinate of the bottom corner. */ public void setYMin(double y) { _touch(); m_envelope.ymin = y; }
/** * Sets the top Y coordinate. * * @param y * The Y coordinate of the top corner. */ public void setYMax(double y) { _touch(); m_envelope.ymax = y; }
/** * Sets the right X coordinate. * * @param x * The X coordinate of the right corner. */ public void setXMax(double x) { _touch(); m_envelope.xmax = x; }
/** * Sets the left X coordinate. * * @param x * The X coordinate of the left corner */ public void setXMin(double x) { _touch(); m_envelope.xmin = x; }
/** * Sets the bottom Y coordinate. * * @param y * the Y coordinate of the bottom corner. */ public void setYMin(double y) { _touch(); m_envelope.ymin = y; }
/** * Sets the top Y coordinate. * * @param y * The Y coordinate of the top corner. */ public void setYMax(double y) { _touch(); m_envelope.ymax = y; }
/** * Sets the left X coordinate. * * @param x * The X coordinate of the left corner */ public void setXMin(double x) { _touch(); m_envelope.xmin = x; }
/** * Removes all points from this geometry. */ @Override public void setEmpty() { _touch(); m_envelope.setEmpty(); }
/** * Normalizes envelopes if the minimum dimension is larger than the * maximum dimension. */ public void normalize() {// TODO: attributes _touch(); m_envelope.normalize(); }
/** * Re-aspects this envelope to fit within the specified width and height. * * @param arWidth * The width within which to fit the envelope. * @param arHeight * The height within which to fit the envelope. */ public void reaspect(double arWidth, double arHeight) { _touch(); m_envelope.reaspect(arWidth, arHeight); }
@Override public void applyTransformation(Transformation2D transform) { _touch(); transform.transform(m_envelope); }
/** * Offsets the envelope by the specified distances along x and y-coordinates. * * @param dx * The X offset to be applied. * @param dy * The Y offset to be applied. */ public void offset(double dx, double dy) { _touch(); m_envelope.offset(dx, dy); }
/** * Normalizes envelopes if the minimum dimension is larger than the * maximum dimension. */ public void normalize() {// TODO: attributes _touch(); m_envelope.normalize(); }
@Override public void applyTransformation(Transformation2D transform) { _touch(); transform.transform(m_envelope); }
/** * Offsets the envelope by the specified distances along x and y-coordinates. * * @param dx * The X offset to be applied. * @param dy * The Y offset to be applied. */ public void offset(double dx, double dy) { _touch(); m_envelope.offset(dx, dy); }
/** * Removes all points from this geometry. */ @Override public void setEmpty() { _touch(); m_envelope.setEmpty(); }
/** * Re-aspects this envelope to fit within the specified width and height. * * @param arWidth * The width within which to fit the envelope. * @param arHeight * The height within which to fit the envelope. */ public void reaspect(double arWidth, double arHeight) { _touch(); m_envelope.reaspect(arWidth, arHeight); }
void setEnvelope2D(Envelope2D e2d) { _touch(); if (!e2d.isValid()) throw new IllegalArgumentException(); m_envelope.setCoords(e2d); }
void setEnvelope2D(Envelope2D e2d) { _touch(); if (!e2d.isValid()) throw new IllegalArgumentException(); m_envelope.setCoords(e2d); }