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

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? ompoly.java

?? openmap java寫的開源數(shù)字地圖程序. 用applet實現(xiàn),可以像google map 那樣放大縮小地圖.
?? JAVA
?? 第 1 頁 / 共 3 頁
字號:
     * coordinate pairs are the same. This is for RENDERTYPE_XY polys.     *      * @param xPoints int[] of x coordinates     * @param yPoints int[] of y coordinates     */    public void setLocation(int[] xPoints, int[] yPoints) {        xs = xPoints;        ys = yPoints;        setNeedToRegenerate(true);        setRenderType(RENDERTYPE_XY);    }    /**     * Set the location based on a latitude, longitude, and some xy     * points. The coordinate mode and the polygon setting are the     * same as in the constructor used. This is for RENDERTYPE_OFFSET     * polys.     *      * @param latPoint latitude in decimal degrees     * @param lonPoint longitude in decimal degrees     * @param units radians or decimal degrees. Use OMGraphic.RADIANS     *        or OMGraphic.DECIMAL_DEGREES     * @param xypoints array of x/y points, arranged x, y, x, y, etc.     */    public void setLocation(float latPoint, float lonPoint, int units,                            int[] xypoints) {        this.units = OMGraphic.RADIANS;        if (units == OMGraphic.DECIMAL_DEGREES) {            lat = ProjMath.degToRad(latPoint);            lon = ProjMath.degToRad(lonPoint);        } else {            lat = latPoint;            lon = lonPoint;        }        int end = xypoints.length >> 1;        xs = new int[end];        ys = new int[end];        for (int i = 0, j = 0; i < end; i++, j += 2) {            xs[i] = xypoints[j];            ys[i] = xypoints[j + 1];        }        setNeedToRegenerate(true);        setRenderType(RENDERTYPE_OFFSET);    }    /**     * Set the location based on a latitude, longitude, and some xy     * points. The coordinate mode and the polygon setting are the     * same as in the constructor used. This is for RENDERTYPE_OFFSET     * polys.     *      * @param latPoint latitude in decimal degrees     * @param lonPoint longitude in decimal degrees     * @param units radians or decimal degrees. Use OMGraphic.RADIANS     *        or OMGraphic.DECIMAL_DEGREES     * @param xPoints int[] of x coordinates     * @param yPoints int[] of y coordinates     */    public void setLocation(float latPoint, float lonPoint, int units,                            int[] xPoints, int[] yPoints) {        this.units = OMGraphic.RADIANS;        if (units == OMGraphic.DECIMAL_DEGREES) {            lat = ProjMath.degToRad(latPoint);            lon = ProjMath.degToRad(lonPoint);        } else {            lat = latPoint;            lon = lonPoint;        }        xs = xPoints;        ys = yPoints;        setNeedToRegenerate(true);        setRenderType(RENDERTYPE_OFFSET);    }    /**     * Return the rawllpts array. NOTE: this is an unsafe method to     * access the rawllpts array. Use with caution. These are RADIANS!     *      * @return float[] rawllpts of lat, lon, lat, lon     */    public float[] getLatLonArray() {        return rawllpts;    }    /**     * Set the latitude of the offset point, in decimal degrees. For     * RENDERTYPE_OFFSET Polygons.     */    public void setLat(float lat) {        this.lat = ProjMath.degToRad(lat);        setNeedToRegenerate(true);    }    /**     * Get the latitude of the offset point, in decimal degrees. For     * RENDERTYPE_OFFSET Polygons.     */    public float getLat() {        return ProjMath.radToDeg(lat);    }    /**     * Set the longitude of the offset point, in decimal degrees. For     * RENDERTYPE_OFFSET Polygons.     */    public void setLon(float lon) {        this.lon = ProjMath.degToRad(lon);        setNeedToRegenerate(true);    }    /**     * Get the longitude of the offset point, in decimal degrees. For     * RENDERTYPE_OFFSET Polygons.     */    public float getLon() {        return ProjMath.radToDeg(lon);    }    /**     * Set the array of x points. For RENDERTYPE_OFFSET, RENDERTYPE_XY     * polys.     */    public void setXs(int[] x) {        xs = x;        setNeedToRegenerate(true);    }    /**     * Get the array of x points. For RENDERTYPE_OFFSET, RENDERTYPE_XY     * polys.     */    public int[] getXs() {        return xs;    }    /**     * Set the array of y points. For RENDERTYPE_OFFSET, RENDERTYPE_XY     * polys.     */    public void setYs(int[] y) {        ys = y;        setNeedToRegenerate(true);    }    /**     * Get the array of y points. For RENDERTYPE_OFFSET, RENDERTYPE_XY     * polys.     */    public int[] getYs() {        return ys;    }    /**     * Set the fill Paint of the poly. If the color value is     * non-clear, then the poly is a polygon (connected and filled),     * otherwise it's a polyline (non-filled).     *      * @param paint value Color     */    public void setFillPaint(Paint paint) {        super.setFillPaint(paint);        isPolygon = !isClear(paint);    }    /**     * Check if this is a polygon or a polyline. A polygon is a     * multi-segment line that has a non-clear fill color. A polyline     * is a multi-segment line that has no fill color.     *      * @return true if polygon false if polyline     */    public boolean isPolygon() {        return isPolygon;    }    /**     * Set the Polyline/Polygon setting, if you know better. If the     * fillPaint is set after this method is called, then the     * fillPaint isPolygon rules apply. If the fillPaint is opaque,     * then it is assumed to be a Polygon and isPolygon will be set to     * true. If this is set to be false, the fillPaint will be set to     * clear.     */    public void setIsPolygon(boolean set) {        if (!set) {            // This is important for the rendering, especially if the            // shapes are being created and OMGraphic.render() will be            // used. The fillPaint being == OMColor.clear will            // prevent the filled area from being drawn.            fillPaint = OMColor.clear;        }        isPolygon = set;    }    /**     * Set the number of subsegments for each segment in the poly.     * (This is only for LINETYPE_GREATCIRCLE or LINETYPE_RHUMB line     * types, and if &lt; 1, this value is generated internally).     *      * @param nsegs number of segment points     */    public void setNumSegs(int nsegs) {        this.nsegs = nsegs;    }    /**     * Get the number of subsegments for each segment in the poly.     * (This is only for LINETYPE_GREATCIRCLE or LINETYPE_RHUMB line     * types).     *      * @return int number of segment points     */    public int getNumSegs() {        return nsegs;    }    /**     * For RENDERTYPE_OFFSET, type of offset.     *      * @see #COORDMODE_ORIGIN     * @see #COORDMODE_PREVIOUS     */    public void setCoordMode(int coordMode) {        this.coordMode = coordMode;    }    /**     * For RENDERTYPE_OFFSET, type of offset.     *      * @see #COORDMODE_ORIGIN     * @see #COORDMODE_PREVIOUS     */    public int getCoordMode() {        return coordMode;    }    public void setDoShapes(boolean set) {        doShapes = set;    }    public boolean getDoShapes() {        return doShapes;    }    /**     * Prepare the poly for rendering.     *      * @param proj Projection     * @return true if generate was successful     */    public boolean generate(Projection proj) {        int i, j, npts;        setShape(null);        setNeedToRegenerate(true);        if (proj == null) {            Debug.message("omgraphic", "OMPoly: null projection in generate!");            return false;        }        // answer the question now, saving calcuation for future        // calculations. The set method forces the calculation for        // the query.        isGeometryClosed();        switch (renderType) {        case RENDERTYPE_XY:            if (xs == null) {                Debug.message("omgraphic",                        "OMPoly x/y rendertype null coordinates");                return false;            }            // Need to keep these around for the LabeledOMPoly            xpoints = new int[1][0];            xpoints[0] = xs;            ypoints = new int[1][0];            ypoints[0] = ys;            break;        case RENDERTYPE_OFFSET:            if (xs == null) {                Debug.message("omgraphic",                        "OMPoly offset rendertype null coordinates");                return false;            }            npts = xs.length;            int[] _x = new int[npts];            int[] _y = new int[npts];            // forward project the radian point            Point origin = proj.forward(lat, lon, new Point(0, 0), true);// radians            if (coordMode == COORDMODE_ORIGIN) {                for (i = 0; i < npts; i++) {                    _x[i] = xs[i] + origin.x;                    _y[i] = ys[i] + origin.y;                }            } else { // CModePrevious offset deltas                _x[0] = xs[0] + origin.x;                _y[0] = ys[0] + origin.y;                for (i = 1; i < npts; i++) {                    _x[i] = xs[i] + _x[i - 1];                    _y[i] = ys[i] + _y[i - 1];                }            }            // Need to keep these around for the LabeledOMPoly            xpoints = new int[1][0];            xpoints[0] = _x;            ypoints = new int[1][0];            ypoints[0] = _y;            break;        case RENDERTYPE_LATLON:            // polygon/polyline project the polygon/polyline.            // Vertices should already be in radians.            ArrayList vector = proj.forwardPoly(rawllpts,                    lineType,                    nsegs,                    isPolygon);            int size = vector.size();            xpoints = new int[(int) (size / 2)][0];            ypoints = new int[xpoints.length][0];            for (i = 0, j = 0; i < size; i += 2, j++) {                xpoints[j] = (int[]) vector.get(i);                ypoints[j] = (int[]) vector.get(i + 1);            }

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产一区二区三区黄视频| 不卡在线观看av| 无码av免费一区二区三区试看 | 欧美亚州韩日在线看免费版国语版| 成人avav在线| 97se亚洲国产综合自在线| k8久久久一区二区三区 | 欧美日韩小视频| 精品视频一区二区三区免费| 精品视频一区二区不卡| 欧美精品视频www在线观看| 欧美久久久久久久久久| 日韩一区二区视频| 精品国免费一区二区三区| 久久亚洲综合色| 国产喷白浆一区二区三区| 国产精品成人免费精品自在线观看| 中文字幕在线免费不卡| 亚洲精品伦理在线| 香港成人在线视频| 美腿丝袜亚洲一区| 国产精品一级二级三级| 成人福利视频在线| 在线精品亚洲一区二区不卡| 欧美性一区二区| 欧美成人一区二区三区在线观看| 国产性色一区二区| 日韩美女精品在线| 亚洲成av人片观看| 国产自产高清不卡| 99精品国产视频| 欧美日韩不卡在线| 久久网站最新地址| 一级女性全黄久久生活片免费| 日韩二区三区四区| 国产一区不卡在线| 色视频一区二区| 日韩免费高清av| 中文字幕亚洲一区二区av在线 | 成年人网站91| 欧美人妖巨大在线| 久久久久久久久久久久久女国产乱 | 久久精品国产一区二区| 成人黄色软件下载| 欧美日韩黄色影视| 国产欧美日韩中文久久| 亚洲成人中文在线| 成人性生交大片免费看在线播放| 欧美系列亚洲系列| 久久美女艺术照精彩视频福利播放 | 亚洲bt欧美bt精品777| 国内精品免费**视频| 91久久免费观看| www成人在线观看| 一区二区三区精品在线观看| 久久 天天综合| 欧美亚洲图片小说| 欧美激情艳妇裸体舞| 免费亚洲电影在线| 91福利社在线观看| 国产欧美日韩精品在线| 日本女优在线视频一区二区| av在线不卡观看免费观看| 日韩视频永久免费| 亚洲一卡二卡三卡四卡无卡久久| 国产一区二区伦理片| 69av一区二区三区| 亚洲人成精品久久久久| 国产一区二区调教| 欧美高清www午色夜在线视频| 自拍偷拍亚洲综合| 国产乱人伦偷精品视频不卡| 日韩一区二区三区四区五区六区| 亚洲在线视频一区| 91在线观看高清| 国产精品久久久久久久浪潮网站| 国内精品免费在线观看| 91精品国产欧美一区二区18| 亚洲国产成人av网| 日本久久电影网| 亚洲三级在线看| www.亚洲色图| 欧美国产日韩在线观看| 国产福利精品一区二区| 精品久久国产字幕高潮| 蜜臀久久久久久久| 欧美日本国产一区| 性久久久久久久久久久久| 色婷婷综合中文久久一本| 中文字幕亚洲在| 成年人国产精品| 国产精品久久久久久妇女6080| 国产一区二区三区视频在线播放| 日韩一区二区三区电影在线观看 | 日本二三区不卡| 中文字幕一区二区三| 99国产精品视频免费观看| 国产精品日韩精品欧美在线| 风间由美中文字幕在线看视频国产欧美| 精品国产91九色蝌蚪| 精品一区二区三区视频| 久久久久久久电影| 国产精品996| 国产精品麻豆久久久| 成人精品免费网站| 国产精品久久久久久久久免费相片| 成人久久久精品乱码一区二区三区 | 久久精品视频一区二区三区| 国产精品自在在线| 国产日韩欧美麻豆| av不卡免费在线观看| 亚洲丝袜另类动漫二区| 日本道精品一区二区三区| 亚洲一区二区美女| 678五月天丁香亚洲综合网| 美国毛片一区二区三区| 久久亚洲综合色一区二区三区 | 国产精品午夜电影| av不卡在线播放| 亚洲国产精品久久久久婷婷884| 欧美日韩三级视频| 久久er精品视频| 国产精品视频第一区| 色综合网站在线| 亚洲高清免费在线| 日韩三级精品电影久久久| 国产麻豆精品95视频| 亚洲欧美偷拍三级| 6080午夜不卡| 国产成人综合在线| 亚洲美女偷拍久久| 欧美乱妇20p| 老司机精品视频在线| 国产精品热久久久久夜色精品三区| 97久久超碰国产精品| 奇米精品一区二区三区在线观看一| 欧美精品一区男女天堂| 91热门视频在线观看| 日韩电影在线观看网站| 国产午夜精品一区二区三区视频 | 日韩一区日韩二区| 欧美一区二区三区电影| 国产成人精品亚洲777人妖 | 色婷婷久久一区二区三区麻豆| 亚洲午夜一区二区三区| 久久久亚洲国产美女国产盗摄| 色视频成人在线观看免| 精品一区二区综合| 一区二区三区国产精华| 精品1区2区在线观看| 在线日韩一区二区| 国产成人精品一区二| 亚洲成av人片在www色猫咪| 国产色91在线| 91精品国产高清一区二区三区蜜臀| 成人午夜精品在线| 男人操女人的视频在线观看欧美| 国产精品乱人伦一区二区| 欧美一区二区福利视频| 91亚洲国产成人精品一区二三| 日韩精品高清不卡| 中文字幕在线观看一区二区| 日韩一区二区三区在线观看| 一本大道av一区二区在线播放| 激情图区综合网| 午夜一区二区三区在线观看| 国产精品日产欧美久久久久| 欧美一级午夜免费电影| 在线视频国内一区二区| 成人免费高清视频在线观看| 美国三级日本三级久久99| 亚洲一区欧美一区| 中文字幕乱码日本亚洲一区二区 | 欧美一区二区黄色| 日本黄色一区二区| 成人av第一页| 国产高清精品久久久久| 日韩黄色小视频| 亚洲国产精品久久不卡毛片| 国产精品久久综合| 久久久久99精品国产片| 欧美一区二区三区成人| 欧美日本在线视频| 欧美性猛交一区二区三区精品| 99精品视频一区二区三区| 国产一区在线不卡| 麻豆91精品视频| 丝袜亚洲另类欧美综合| 亚洲国产精品久久人人爱| 一区二区三区色| 亚洲免费观看高清完整| 亚洲视频香蕉人妖| 国产精品网站在线观看| 国产亚洲成年网址在线观看| 久久久亚洲国产美女国产盗摄| 日韩午夜激情免费电影| 91精品啪在线观看国产60岁| 在线播放91灌醉迷j高跟美女| 欧美亚洲一区二区三区四区| 欧美羞羞免费网站|