ielevationcalculator.java

来自「esri的ArcGIS Server超级学习模板程序(for java)」· Java 代码 · 共 25 行

JAVA
25
字号
package com.esri.solutions.jitk.services.elevation;

import com.esri.solutions.jitk.services.common.ServicesException;

/**
 * Responsible for calculating an elevation.  Implementations of this 
 * interface will need to determine the strategy for calculating the 
 * elevation.
 */
public interface IElevationCalculator {

	/**
	 * Calculates the elevation for a particular point on a map.  The Point
	 * should be in map coordinates and not screen coordinates.  If there is
	 * an error condition during the execution of this method, then an
	 * {@link ElevationException} should be thrown.
	 * 
	 * @param pt	Map point in which to determine elevation, 
	 * 				cannot be <code>null</code>.
	 * @return Data type that contains the elevation value along with unit of measure information. 
	 * @throws ServicesException Thrown if there was an error condition that occurred.
	 */
	public Elevation calculateElevation (Point pt) throws ServicesException;
}

⌨️ 快捷键说明

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