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

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

?? llxy.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/proj/LLXY.java,v $// $RCSfile: LLXY.java,v $// $Revision: 1.4.2.3 $// $Date: 2005/08/22 14:20:54 $// $Author: dietrick $// // **********************************************************************package com.bbn.openmap.proj;import java.awt.Point;import com.bbn.openmap.LatLonPoint;import com.bbn.openmap.util.Debug;/** * Implements the LLXY projection, which is basically something where * the lat/lon and pixel ratios are the same. */public class LLXY extends Cylindrical implements EqualArc {    /**     * The LLXY name.     */    public final static transient String LLXYName = "LLXY";    /**     * The LLXY type of projection.     */    public final static transient int LLXYType = 6304;    // world<->screen coordinate offsets    protected int hy, wx;    protected float cLon;    protected float cLat;    /** Pixel per degree */    protected float ppd;    /**     * Construct a LLXY projection.     *      * @param center LatLonPoint center of projection     * @param scale float scale of projection     * @param width width of screen     * @param height height of screen     */    public LLXY(LatLonPoint center, float scale, int width, int height) {        super(center, scale, width, height, LLXYType);    }    public LLXY(LatLonPoint center, float scale, int width, int height, int type) {        super(center, scale, width, height, type);    }    //      protected void finalize() {    //      Debug.message("gc", "LLXY finalized");    //      }    /**     * Return stringified description of this projection.     *      * @return String     * @see Projection#getProjectionID     */    public String toString() {        return "LLXY[" + super.toString() + "]";    }    /**     * Called when some fundamental parameters change.     *      * Each projection will decide how to respond to this change. For     * instance, they may need to recalculate "constant" paramters     * used in the forward() and inverse() calls.     */    protected void computeParameters() {        Debug.message("proj", "LLXY.computeParameters()");        super.computeParameters();        // compute the offsets        hy = height / 2;        wx = width / 2;        // Degrees longitude of the center of the projection.        cLon = ProjMath.radToDeg(ctrLon);        cLat = ProjMath.radToDeg(ctrLat);        ppd = world.x / 360f;        float latLimit = 90f - ((float) hy / ppd);        //Add check for zoom allowing more than 90 degrees viewable        if (latLimit < 0.0f)            latLimit = 0.0f;        if (cLat > latLimit) {            cLat = latLimit;            ctrLat = ProjMath.degToRad(cLat);        } else if (cLat < -latLimit) {            cLat = -latLimit;            ctrLat = ProjMath.degToRad(cLat);        }        if (Debug.debugging("llxy")) {            Debug.output("LLXY.computeParameters: with center lat:" + cLat                    + ", lon:" + cLon + " | width:" + width + ", height:"                    + height + " | scale:" + scale);        }    }    /**     * Sets radian latitude to something sane. This is an abstract     * function since some projections don't deal well with extreme     * latitudes.     *      * @param lat float latitude in radians     * @return float latitude (-PI/2 &lt;= y &lt;= PI/2)     * @see com.bbn.openmap.LatLonPoint#normalize_latitude(float)     */    public float normalize_latitude(float lat) {        if (lat > NORTH_POLE) {            return NORTH_POLE;        } else if (lat < SOUTH_POLE) {            return SOUTH_POLE;        }        return lat;    }    /**     * Checks if a LatLonPoint is plot-able.     *      * A point is always plot-able in the LLXY projection.     *      * @param lat float latitude in decimal degrees     * @param lon float longitude in decimal degrees     * @return boolean     */    public boolean isPlotable(float lat, float lon) {        return true;    }    /**     * Projects a point from Lat/Lon space to X/Y space.     *      * @param pt LatLonPoint     * @param p Point retval     * @return Point p     */    public Point forward(LatLonPoint pt, Point p) {        return forward(pt.getLatitude(), pt.getLongitude(), p, false);    }    /**     * Forward projects a lat,lon coordinates.     *      * @param lat raw latitude in decimal degrees     * @param lon raw longitude in decimal degrees     * @param p Resulting XY Point     * @return Point p     */    public Point forward(float lat, float lon, Point p) {        return forward(lat, lon, p, false);    }    /**     * Forward projects lat,lon into XY space and returns a Point.     *      * @param lat float latitude in radians     * @param lon float longitude in radians     * @param p Resulting XY Point     * @param isRadian bogus argument indicating that lat,lon     *        arguments are in radians     * @return Point p     */    public Point forward(float lat, float lon, Point p, boolean isRadian) {        if (isRadian) {            lat = ProjMath.radToDeg(normalize_latitude(lat));            lon = ProjMath.radToDeg(lon);        } else {            lat = Length.DECIMAL_DEGREE.fromRadians(normalize_latitude(Length.DECIMAL_DEGREE.toRadians(lat)));        }        float newLon = Length.DECIMAL_DEGREE.fromRadians(wrap_longitude(Length.DECIMAL_DEGREE.toRadians(lon                - cLon)));        p.x = wx + Math.round(newLon * ppd);        p.y = hy - Math.round((lat - cLat) * ppd);        if (Debug.debugging("llxydetail")) {            Debug.output("LLXY.forward(lon:" + ProjMath.radToDeg(lon)                    + ", lat:" + ProjMath.radToDeg(lat) + " isRadian:"                    + isRadian + ")");            Debug.output("LLXY.forward   x:" + p.x + ", y:" + p.y + " scale: "                    + (float) scale);        }        return p;    }    /**     * Inverse project a Point.     *      * @param pt x,y Point     * @param llp resulting LatLonPoint     * @return LatLonPoint llp     */    public LatLonPoint inverse(Point pt, LatLonPoint llp) {        return inverse(pt.x, pt.y, llp);    }    /**     * Inverse project x,y coordinates into a LatLonPoint.     *      * @param x integer x coordinate     * @param y integer y coordinate     * @param llp LatLonPoint     * @return LatLonPoint llp     * @see Proj#inverse(Point)     */    public LatLonPoint inverse(int x, int y, LatLonPoint llp) {        // convert from screen to world coordinates, and then        // basically undo the math from the forward method.        llp.setLongitude(((x - wx) / ppd) + cLon);        llp.setLatitude(((hy - y) / ppd) + cLat);        return llp;    }    /**     * Get the name string of the projection.     */    public String getName() {        return LLXYName;    }    /**     * Returns the x pixel constant of the projection. This was     * calcuated when the projection was created. Represents the     * number of pixels around the earth (360 degrees).     */    public double getXPixConstant() {        return (double) ppd * 360;    }    /**     * Returns the y pixel constant of the projection. This was     * calcuated when the projection was created. Represents the     * number of pixels from 0 to 90 degrees.     */    public double getYPixConstant() {        return (double) ppd * 90;    }}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
日本va欧美va精品发布| 蜜臀a∨国产成人精品| 国产三级精品视频| 久久尤物电影视频在线观看| 日韩欧美中文字幕精品| 精品福利一二区| 国产女同互慰高潮91漫画| 国产日产欧产精品推荐色| 日本一区二区不卡视频| 中文字幕在线观看一区二区| 亚洲人成伊人成综合网小说| 亚洲精品国产精品乱码不99| 亚洲一级片在线观看| 亚洲sss视频在线视频| 日日夜夜免费精品| 精品亚洲国产成人av制服丝袜| 国产精品一区二区果冻传媒| av电影在线观看一区| 欧美吻胸吃奶大尺度电影| 91精品国产高清一区二区三区蜜臀| 欧美一级精品大片| 欧美国产精品一区| 一区二区三区四区在线免费观看| 日韩在线播放一区二区| 国产伦精品一区二区三区视频青涩| 国产91精品精华液一区二区三区| 一本到高清视频免费精品| 欧美区在线观看| 久久久久久久久久看片| 中文字幕一区二区三区四区不卡| 亚洲午夜免费福利视频| 久久er99热精品一区二区| 99re这里只有精品6| 91精品国产全国免费观看| 欧美激情中文字幕一区二区| 亚洲大片精品永久免费| 福利一区福利二区| 91精品国产色综合久久久蜜香臀| 中文字幕久久午夜不卡| 婷婷综合另类小说色区| www.亚洲激情.com| 久久综合丝袜日本网| 日韩毛片一二三区| 久久91精品国产91久久小草| 91污在线观看| 26uuu另类欧美亚洲曰本| 亚洲精品国产成人久久av盗摄| 国产在线精品一区二区三区不卡| 欧洲一区二区av| 国产香蕉久久精品综合网| 天堂精品中文字幕在线| 97se亚洲国产综合自在线不卡| 精品国产一区二区精华| 天天色天天操综合| 一本一本大道香蕉久在线精品| 欧美成人激情免费网| 午夜日韩在线观看| 在线观看成人小视频| 最新日韩在线视频| 国产夫妻精品视频| 2020国产精品自拍| 玖玖九九国产精品| 91精品国产综合久久蜜臀| 一区二区三区四区不卡视频| 97超碰欧美中文字幕| 国产精品九色蝌蚪自拍| 成人手机在线视频| 国产日韩欧美麻豆| 国产伦精品一区二区三区在线观看| 欧美一区二区三区免费大片 | 自拍偷拍欧美激情| 国产精品一线二线三线| xvideos.蜜桃一区二区| 国产在线观看免费一区| 精品久久久久av影院| 美脚の诱脚舐め脚责91| 精品国精品自拍自在线| 精品无人码麻豆乱码1区2区| 欧美精品一区男女天堂| 国内精品嫩模私拍在线| 精品播放一区二区| 成人小视频在线| 亚洲特黄一级片| 日本高清不卡视频| 亚洲国产cao| 91精品在线免费观看| 蜜臀国产一区二区三区在线播放| 日韩三级中文字幕| 国产麻豆成人精品| 国产精品美女久久久久久久久久久 | 中文字幕一区二| 91视频免费观看| 亚洲国产精品自拍| 日韩欧美综合一区| 韩国成人在线视频| 亚洲欧洲国产日韩| 欧美日韩精品一区视频| 免费成人在线影院| 欧美国产精品中文字幕| 久久久精品日韩欧美| 色综合天天综合狠狠| 亚洲国产一区二区a毛片| 91麻豆精品国产91久久久| 久色婷婷小香蕉久久| 中文字幕制服丝袜成人av | 亚洲黄一区二区三区| 欧美性大战久久久久久久| 久久精品国产精品亚洲红杏| 国产视频在线观看一区二区三区| 色综合久久久久网| 免费成人av资源网| 国产精品传媒视频| 欧美高清精品3d| 成人一级黄色片| 五月婷婷久久丁香| 综合中文字幕亚洲| 欧美一区二区视频观看视频| 99久久久无码国产精品| 麻豆一区二区三| 一区二区三区免费在线观看| 久久先锋影音av鲁色资源网| 欧美性生活一区| 国产不卡在线一区| 美国毛片一区二区| 亚洲成人av一区二区三区| 中文字幕第一区第二区| 日韩一本二本av| 欧美主播一区二区三区美女| 国产成人精品亚洲777人妖 | 国产精品福利一区二区三区| 日韩一级片网站| 欧美亚洲高清一区| 成人禁用看黄a在线| 国产真实精品久久二三区| 亚洲3atv精品一区二区三区| 亚洲欧美日韩久久| 国产精品欧美一级免费| 337p粉嫩大胆色噜噜噜噜亚洲| 欧美日韩一区在线| 97se亚洲国产综合自在线观| 高清不卡在线观看| 国产一区二区在线观看免费| 奇米精品一区二区三区四区| 一区二区三区四区不卡在线| 中文字幕一区三区| 国产精品二三区| 国产免费久久精品| 欧美国产日产图区| 国产亚洲成aⅴ人片在线观看| 久久久综合网站| 国产偷国产偷亚洲高清人白洁 | 国产99久久久国产精品免费看| 狠狠色丁香婷婷综合| 精品一区二区三区视频| 国产毛片一区二区| 成人午夜视频免费看| av不卡在线观看| 91国偷自产一区二区开放时间 | 亚洲国产精品天堂| 亚洲成a人v欧美综合天堂 | 精品久久人人做人人爱| 精品国产第一区二区三区观看体验| 日韩一级二级三级精品视频| 日韩一区二区三区高清免费看看| 欧美肥胖老妇做爰| 精品欧美一区二区久久| 国产视频911| 综合电影一区二区三区 | 免费欧美在线视频| 国产九色精品成人porny | 91久久国产综合久久| 欧美久久久久久久久久| 日韩一区二区在线观看视频播放| 欧美精品一区二区三区四区| 国产精品狼人久久影院观看方式| 亚洲日本va午夜在线影院| 亚洲一区二区欧美激情| 激情小说亚洲一区| 91免费看片在线观看| 欧美一区二视频| 国产三级久久久| 午夜私人影院久久久久| 国产盗摄一区二区| 欧美日韩精品一区二区天天拍小说 | 亚洲天天做日日做天天谢日日欢 | 日韩午夜电影在线观看| 久久久精品天堂| 亚洲成av人片在线| 国产福利91精品一区| 欧美男生操女生| 国产精品久久久久久久裸模| 午夜影院在线观看欧美| 成人深夜在线观看| 欧美一区二区三区视频在线| 国产精品视频你懂的| 美女国产一区二区| 欧美亚洲综合久久| 亚洲欧洲精品一区二区三区| 免费观看一级欧美片| 在线看国产一区二区|