⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 matchparameters.java

📁 openmap java写的开源数字地图程序. 用applet实现,可以像google map 那样放大缩小地图.
💻 JAVA
字号:
/* *                     RESTRICTED RIGHTS LEGEND * *                        BBNT Solutions LLC *                        A Verizon Company *                        10 Moulton Street *                       Cambridge, MA 02138 *                         (617) 873-3000 * * Copyright BBNT Solutions LLC 2001, 2002 All Rights Reserved * */package com.bbn.openmap.geo;/** * The terms that describe how matches between Geo objects are to be * performed. */public interface MatchParameters {    /**     * return the horizontal deviation (range) to consider matching.     * The value is in radians. 0.0 implies strict intersection. Note     * that if a RegionIndex is being used, then this value probably     * must be no larger than the index's margin to avoid missing     * regions that are near index boundaries.     */    double horizontalRange();    public class Standard implements MatchParameters {        double hr;        public Standard(double hr) {            this.hr = hr;        }        public double horizontalRange() {            return hr;        }    }    /**     * A set of parameters that matches radius of 10 nmiles.     */    MatchParameters ROUTE_DEFAULT = new Standard(Geo.nmToAngle(10));    /**     * A set of parameters for strict intersections, 0 nmiles.     */    MatchParameters STRICT = new Standard(0.0);}

⌨️ 快捷键说明

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