Back to project page zmap.
The source code is released under:
GNU Lesser General Public License
If you think the Android project zmap listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.zmap.geom; //ww w . j av a2s.c o m /** * @note An IEnvelope is a 2d-rectangle in space. */ public interface IEnvelope { public double getMinX(); public double getMinY(); public double getMaxX(); public double getMaxY(); public void set(double minX, double minY, double maxX, double maxY); public boolean isEmpty(); public boolean isContains(IPoint point); public boolean isContains(IEnvelope other); public boolean isIntersect(IEnvelope other); public IEnvelope union(IEnvelope other); public IEnvelope union(IPoint point); public IEnvelope intersect(IEnvelope other); public void unionWith(IPoint point); public void unionWith(IEnvelope other); }