亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關于我們
? 蟲蟲下載站

?? rpfcoveragemanager.java

?? openmap java寫的開源數字地圖程序. 用applet實現,可以像google map 那樣放大縮小地圖.
?? JAVA
字號:
// **********************************************************************// // <copyright>// //  BBN Technologies//  10 Moulton Street//  Cambridge, MA 02138//  (617) 873-8000// //  Copyright (C) BBNT Solutions LLC. All rights reserved.// // </copyright>// **********************************************************************// // $Source: /cvs/distapps/openmap/src/openmap/com/bbn/openmap/layer/rpf/RpfCoverageManager.java,v $// $RCSfile: RpfCoverageManager.java,v $// $Revision: 1.2.2.2 $// $Date: 2004/10/14 18:27:15 $// $Author: dietrick $// // **********************************************************************package com.bbn.openmap.layer.rpf;/*  Java Core  */import java.awt.Color;import java.util.Vector;/*  OpenMap  */import com.bbn.openmap.MoreMath;import com.bbn.openmap.omGraphics.OMGraphic;import com.bbn.openmap.omGraphics.OMGraphicList;import com.bbn.openmap.omGraphics.OMRect;import com.bbn.openmap.proj.CADRG;import com.bbn.openmap.proj.Projection;import com.bbn.openmap.util.Debug;/** * This is an object that provides coverage information on the Rpf * data. It is supposed to be a simple tool that lets you see the * general location of data, to guide you to the right place and scale * of coverage. The layer really uses the properties passed in to it * to determine which RPF/A.TOC should be scanned for the data. There * is a palette for this layer, that lets you turn off the coverage * for different levels of Rpf. Right now, only City Graphics, TLM, * JOG, TPC, ONC, JNC, GNC and 5/10 meter CIB scales are are handled. * All other scales are tossed together under the misc setting. The * City Graphics setting shows all charts for scales greater than than * 1:15k. */public class RpfCoverageManager {    /**     * The last line type of the edge of the rectangles. Used to     * determine whether the line needs to be re-projected based on a     * projection change.     */    protected int currentLineType;    /** Graphic lists of coverage rectangles. */    protected Vector omGraphics = null;    /** The place to get the coverage information, */    protected RpfFrameProvider frameProvider;    /** Don't use this. */    public RpfCoverageManager(RpfFrameProvider rfp) {        frameProvider = rfp;        omGraphics = new Vector();    }    /**     * Looks at the paths for the A.TOC files and gets all the     * coverage rectangles from them. Sets the entries to a big list     * of rectangles from all the A.TOC files.     *      * @param colors looks for an array of 10 colors.     * @param fillRects whether to fill the rectangles with the color,     *        or just do outlines.     * @return entries from within the A.TOC files.     */    protected Vector getCatalogCoverage(float ullat, float ullon, float lrlat,                                        float lrlon, Projection proj,                                        String chartSeries, Color[] colors,                                        boolean fillRects) {        Debug.message("rpfcov",                "RpfCoverageManager: Getting catalog coverage from RpfFrameProvider");        if (proj == null || frameProvider == null) {            return new Vector();        }        CADRG cadrg;        if (proj instanceof CADRG) {            cadrg = (CADRG) proj;        } else {            cadrg = new CADRG(proj.getCenter(), proj.getScale(), proj.getWidth(), proj.getHeight());        }        Vector[] hemisphereData;        if ((ullon > lrlon)                || MoreMath.approximately_equal(ullon, lrlon, .001f)) {            hemisphereData = new Vector[2];            hemisphereData[0] = frameProvider.getCatalogCoverage(ullat,                    ullon,                    lrlat,                    180f,                    cadrg,                    chartSeries);            hemisphereData[1] = frameProvider.getCatalogCoverage(ullat,                    -180f,                    lrlat,                    lrlon,                    cadrg,                    chartSeries);        } else {            hemisphereData = new Vector[1];            hemisphereData[0] = frameProvider.getCatalogCoverage(ullat,                    ullon,                    lrlat,                    lrlon,                    cadrg,                    chartSeries);        }        omGraphics.removeAllElements();        currentLineType = OMGraphic.LINETYPE_RHUMB;        //      if (proj instanceof Cylindrical) {        //          currentLineType = OMGraphic.LINETYPE_STRAIGHT;        //      }        OMGraphicList cgs = new OMGraphicList();        OMGraphicList tlms = new OMGraphicList();        OMGraphicList jogs = new OMGraphicList();        OMGraphicList tpcs = new OMGraphicList();        OMGraphicList oncs = new OMGraphicList();        OMGraphicList jncs = new OMGraphicList();        OMGraphicList gncs = new OMGraphicList();        OMGraphicList cib10s = new OMGraphicList();        OMGraphicList cib5s = new OMGraphicList();        OMGraphicList miscs = new OMGraphicList();        omGraphics.addElement(cgs);        omGraphics.addElement(cib5s);        omGraphics.addElement(tlms);        omGraphics.addElement(cib10s);        omGraphics.addElement(jogs);        omGraphics.addElement(miscs);        omGraphics.addElement(tpcs);        omGraphics.addElement(oncs);        omGraphics.addElement(jncs);        omGraphics.addElement(gncs);        OMRect rect;        for (int j = 0; j < hemisphereData.length; j++) {            if (hemisphereData[j] == null) {                Debug.message("rpfcov", "RpfCoverageManager. vector " + j                        + " is null");                continue;            }            int size = hemisphereData[j].size();            for (int i = 0; i < size; i++) {                RpfCoverageBox box = (RpfCoverageBox) hemisphereData[j].elementAt(i);                rect = new OMRect((float) box.nw_lat, (float) box.nw_lon, (float) box.se_lat, (float) box.se_lon, currentLineType);                float scale = RpfProductInfo.get(box.chartCode).scale;                if (scale < 15000f) {                    if (colors != null && colors.length >= 1) {                        rect.setLinePaint(colors[0]);                        if (fillRects)                            rect.setFillPaint(colors[0]);                    }                    cgs.add(rect);                } else if (scale == 50000f) {                    if (colors != null && colors.length >= 2) {                        rect.setLinePaint(colors[1]);                        if (fillRects)                            rect.setFillPaint(colors[1]);                    }                    tlms.add(rect);                } else if (scale == 250000f) {                    if (colors != null && colors.length >= 3) {                        rect.setLinePaint(colors[2]);                        if (fillRects)                            rect.setFillPaint(colors[2]);                    }                    jogs.add(rect);                } else if (scale == 500000f) {                    if (colors != null && colors.length >= 4) {                        rect.setLinePaint(colors[3]);                        if (fillRects)                            rect.setFillPaint(colors[3]);                    }                    tpcs.add(rect);                } else if (scale == 1000000f) {                    if (colors != null && colors.length >= 5) {                        rect.setLinePaint(colors[4]);                        if (fillRects)                            rect.setFillPaint(colors[4]);                    }                    oncs.add(rect);                } else if (scale == 2000000f) {                    if (colors != null && colors.length >= 6) {                        rect.setLinePaint(colors[5]);                        if (fillRects)                            rect.setFillPaint(colors[5]);                    }                    jncs.add(rect);                } else if (scale == 5000000f) {                    if (colors != null && colors.length >= 7) {                        rect.setLinePaint(colors[6]);                        if (fillRects)                            rect.setFillPaint(colors[6]);                    }                    gncs.add(rect);                } else if (scale == 66666f) {                    if (colors != null && colors.length >= 8) {                        rect.setLinePaint(colors[7]);                        if (fillRects)                            rect.setFillPaint(colors[7]);                    }                    cib10s.add(rect);                } else if (scale == 33333f) {                    if (colors != null && colors.length >= 9) {                        rect.setLinePaint(colors[8]);                        if (fillRects)                            rect.setFillPaint(colors[8]);                    }                    cib5s.add(rect);                } else if (scale == RpfConstants.Various) {                    // Don't show it, because we don't know how to                    // display it anyway. Don't bother projecting it.                    continue;                } else {                    if (colors != null && colors.length >= 10) {                        rect.setLinePaint(colors[9]);                        if (fillRects)                            rect.setFillPaint(colors[9]);                    }                    miscs.add(rect);                }                rect.generate(proj);            }        }        return omGraphics;    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美浪妇xxxx高跟鞋交| 成年人午夜久久久| 日本韩国欧美在线| www国产成人免费观看视频 深夜成人网| 亚洲色图清纯唯美| 国产激情偷乱视频一区二区三区| 欧美日韩免费电影| 中文字幕亚洲精品在线观看| 国产真实精品久久二三区| 欧美日韩午夜精品| 成人欧美一区二区三区1314| 国产伦理精品不卡| 91精品国产综合久久精品性色 | 91精品欧美一区二区三区综合在 | 亚洲国产精品欧美一二99| 国产一区久久久| 91精品国产乱| 亚洲电影欧美电影有声小说| 99精品国产99久久久久久白柏| 精品国精品国产| 日韩av高清在线观看| 欧美专区亚洲专区| 亚洲另类春色国产| 91免费精品国自产拍在线不卡| 欧美经典一区二区| 国产成人夜色高潮福利影视| 欧美精品一区二| 久久99精品视频| 91精品国产一区二区三区 | 国产亚洲精品aa午夜观看| 欧美aⅴ一区二区三区视频| 欧美精选在线播放| 亚洲国产毛片aaaaa无费看| 日本乱码高清不卡字幕| 亚洲乱码国产乱码精品精可以看| 99久久99精品久久久久久| 国产精品传媒入口麻豆| www.亚洲激情.com| 国产精品每日更新| av电影在线观看一区| 国产精品乱人伦| 99久久婷婷国产综合精品电影| 国产精品国产三级国产aⅴ入口| 成人开心网精品视频| 国产精品三级在线观看| 成人av一区二区三区| 国产精品国模大尺度视频| 91小视频免费看| 亚洲综合在线电影| 欧美日韩大陆一区二区| 日韩 欧美一区二区三区| 51久久夜色精品国产麻豆| 美女视频黄免费的久久| 精品av综合导航| 国产精品一二三| 国产精品免费人成网站| 色视频欧美一区二区三区| 亚洲国产日韩一级| 日韩欧美中文一区| 国产乱码一区二区三区| 亚洲国产高清aⅴ视频| 91在线视频在线| 亚洲午夜免费电影| 欧美一级日韩一级| 精品一区二区日韩| 国产精品人妖ts系列视频| 一本久久a久久免费精品不卡| 偷拍与自拍一区| 久久综合资源网| www.欧美亚洲| 亚洲午夜激情av| 日韩欧美卡一卡二| 丰满放荡岳乱妇91ww| 亚洲精品日日夜夜| 日韩一区二区麻豆国产| 国产福利91精品| 一区二区三区在线视频观看58| 欧美高清精品3d| 国产高清久久久| 亚洲一区二区三区四区的| 日韩欧美一卡二卡| 波多野洁衣一区| 天天做天天摸天天爽国产一区 | 91国偷自产一区二区三区成为亚洲经典 | 99精品桃花视频在线观看| 亚洲第一二三四区| 2021国产精品久久精品| 色综合色狠狠综合色| 日本亚洲最大的色成网站www| 国产亚洲精品超碰| 欧美日韩一卡二卡三卡| 国产suv精品一区二区883| 亚洲午夜久久久久中文字幕久| 国产亚洲欧美日韩日本| 欧美日韩国产成人在线免费| 韩国三级中文字幕hd久久精品| 亚洲日本一区二区| 日韩欧美国产午夜精品| 99国产精品久久久久| 免费的成人av| 亚洲精品日日夜夜| wwwwxxxxx欧美| 欧美三级在线播放| 国产精品一级二级三级| 亚洲成人av在线电影| 国产免费久久精品| 日韩欧美电影一二三| 色狠狠一区二区三区香蕉| 国产一区二区免费视频| 亚洲高清免费观看高清完整版在线观看 | 国产精品自拍网站| 亚洲成av人片在线| 日韩一区中文字幕| 国产亚洲综合在线| 欧美一二三区在线观看| 91麻豆国产福利在线观看| 狠狠色狠狠色合久久伊人| 亚洲国产精品人人做人人爽| 中文字幕一区二区三区四区不卡 | 亚洲另类中文字| 欧美国产乱子伦| 精品少妇一区二区三区在线视频| 欧美无乱码久久久免费午夜一区| www.爱久久.com| 国产一区二区三区在线观看免费 | 91亚洲男人天堂| 国产一区二区三区视频在线播放| 日韩二区在线观看| 亚洲成人激情综合网| 亚洲三级在线免费观看| 欧美国产精品一区二区| 亚洲精品一区二区三区福利| 3d成人动漫网站| 欧美撒尿777hd撒尿| 在线亚洲免费视频| av电影天堂一区二区在线观看| 国产精品自拍毛片| 极品少妇xxxx精品少妇偷拍| 日韩成人免费看| 日韩国产欧美三级| 亚洲成人动漫在线免费观看| 亚洲色图在线看| 一区二区中文字幕在线| 国产精品美女www爽爽爽| 日本一区二区三区视频视频| 久久久噜噜噜久久中文字幕色伊伊| 欧美一区二区三区成人| 欧美日韩国产综合久久| 欧美日韩一区二区三区高清| 欧美私人免费视频| 欧美日韩精品三区| 欧美色偷偷大香| 欧美午夜精品久久久久久孕妇| 欧美性猛片aaaaaaa做受| 色天天综合久久久久综合片| 日本乱码高清不卡字幕| 91黄色免费看| 欧美日韩一区中文字幕| 欧美乱熟臀69xxxxxx| 91.xcao| 日韩女优电影在线观看| 欧美videofree性高清杂交| 精品美女在线播放| 久久九九久久九九| 国产精品免费视频一区| 亚洲美女淫视频| 亚洲电影在线播放| 日本欧美久久久久免费播放网| 久久精品久久精品| 国产精品一区二区果冻传媒| 国产iv一区二区三区| proumb性欧美在线观看| 色综合久久88色综合天天6| 欧美伊人久久久久久久久影院| 欧美精品久久久久久久多人混战| 日韩欧美国产小视频| 久久久精品日韩欧美| 成人欧美一区二区三区白人| 亚洲午夜精品网| 麻豆精品一二三| 国产91富婆露脸刺激对白| 91丨porny丨国产入口| 欧美少妇性性性| 欧美成人a在线| 亚洲国产成人私人影院tom| 亚洲欧美激情插| 日韩黄色一级片| 国产麻豆精品久久一二三| 99久久精品国产网站| 欧美精品xxxxbbbb| 精品欧美乱码久久久久久1区2区| 日本一区二区久久| 一区二区久久久久| 看国产成人h片视频| 成人午夜av影视| 欧美日韩国产欧美日美国产精品| 久久婷婷成人综合色| 一区二区三区精品在线| 麻豆91精品视频| 99热精品一区二区|