projection.java

来自「geotools的源码」· Java 代码 · 共 18 行

JAVA
18
字号
package uk.ac.leeds.ccg.geotools.projections;

import uk.ac.leeds.ccg.geotools.GeoRectangle;

public interface Projection{
    
    public double[] project(double lon,double lat);
    public double[] unproject(double x,double y);
		/** given a geographical extent work out the minimum bounding rectangle
		 *  that contains that rectangle when projected - you may clip the
		 * rectangle returned to reflect what is sensible for this projection
		 */
		public GeoRectangle 
			projectedExtent(uk.ac.leeds.ccg.geotools.GeoRectangle r);
    public GeoRectangle unprojectedExtent(GeoRectangle r);
    public GeoRectangle clipToSafe(GeoRectangle r);    
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?