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

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

?? omgrid.java

?? openmap java寫的開源數(shù)字地圖程序. 用applet實現(xiàn),可以像google map 那樣放大縮小地圖.
?? JAVA
?? 第 1 頁 / 共 3 頁
字號:
// **********************************************************************// // <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/omGraphics/OMGrid.java,v $// $RCSfile: OMGrid.java,v $// $Revision: 1.5.2.5 $// $Date: 2005/08/11 21:03:22 $// $Author: dietrick $// // **********************************************************************package com.bbn.openmap.omGraphics;import java.awt.Graphics;import java.awt.Point;import com.bbn.openmap.omGraphics.grid.GridData;import com.bbn.openmap.omGraphics.grid.OMGridData;import com.bbn.openmap.omGraphics.grid.OMGridGenerator;import com.bbn.openmap.omGraphics.grid.OMGridObjects;import com.bbn.openmap.proj.Length;import com.bbn.openmap.proj.Projection;import com.bbn.openmap.util.Debug;/** * An OMGrid object is a two-dimensional container object for data. * The grid can be laid out in geographic or pixel space. There are * two different ways that the OMGrid can be used. * <P> * The data placed in the array can represent the attributes of what * you want the grid to represent - elevation values, temperatures, * etc. In order to render the data on the screen, you'll need to set * the OMGridGenerator object, and let it interpret the data to create * the desired OMGraphics for you. * <P> * The OMGrid data values can also contain integer ID keys for objects * contained in the OMGridObjects object held by the OMGrid. By using * the OMGrid in this way, the OMGrid becomes a placeholder for other * graphics, and will manage the generate() function calls to those * objects that are on the screen. * <P> * The OMGridGenerator object will take precidence over the * OMGridObjects - If the OMGridGenerator is set within the grid, the * OMGridGenerator will create the OMGraphics to be displayed for the * grid, as opposed the OMGridObjects getting a chance to generate * themselves. The OMGrid extends OMGraphicList, and the OMGraphics * that the OMGridGenerator creates are added to the OMGrid. If you * want the OMGrid to hide the OMGraphics that are created, make it * vague. */public class OMGrid extends OMGraphicList {    /**     * The orientation angle of the grid, in radians. Up/North is     * zero.     */    protected float orientation;    /**     * Number of rows in the data array. Gets set by the OMGrid     * depending on the major of the grid.     */    protected int rows;    /**     * Number of columns in the data array. Gets set by the OMGrid     * depending on the major of the grid.     */    protected int columns;    /**     * The starting latitude point of the grid. Only relevant when the     * data points are laid out in a lat/lon grid, or when an x/y grid     * is anchored to a lat/lon location. DOES NOT follow the OpenMap     * convention where area object locations are defined by the upper     * left location - the location of the grid is noted by the lower     * left corner, because grid data is usually defined by the lower     * left location. Makes it easier to deal with overlap rows and     * columns, and to calculate the locations of the rows and     * columns.     */    protected float latitude;    /**     * The starting longitude point of the grid. Only relevant when     * the data points are laid out in a lat/lon grid, or when an x/y     * grid is anchored to a lat/lon location. DOES NOT follow the     * OpenMap convention where area object locations are defined by     * the upper left location - the location of the grid is noted by     * the lower left corner, because grid data is usually defined by     * the lower left location. Makes it easier to deal with overlap     * rows and columns, and to calculate the locations of the rows     * and columns.     */    protected float longitude;    /**     * The vertical/latitude interval, the distance between row data     * points in the vertical direction. For x/y grids, this can     * server as a pixel multiplier. For lat/lon grids, it represents     * the decimal degrees between grid points.     */    protected float verticalResolution;    /**     * The horizontal/longitude interval, the distance between column     * data points in the horizontal direction. For x/y grids, this     * can server as a pixel mulitplier. For lat/lon grids, it     * represents the decimal degrees between grid points.     */    protected float horizontalResolution;    /**     * The Object holding the data for the OMGrid. The GridData     * abstracts the type of data that is held by the OMGrid. Note:     * the 0 index of the array in both directions is in the lower     * left corner of the matrix. As you increase indexes in both     * dimensions, you go up-right.     */    public GridData data;    /**     * If needed, the data array can hold numerical identifiers, which     * are keys to objects stored in this hashtable. That way, the     * grid can be used to hold an array of objects. If the objs are     * set, then the OMGrid object automatically assumes that all     * graphic operations are supposed to involve the objs.     */    protected OMGridObjects gridObjects = null;    /**     * Horizontal screen location of the upper left corner of the grid     * in pixels, before projection, of XY and OFFSET grids.     */    protected Point point = null;    /**     * Horizontal screen location of the upper left corner of the grid     * in pixels, after projection.     */    public Point point1 = null;    /**     * Horizontal screen location of the lower right corner of the     * grid in pixels, after projection.     */    public Point point2 = null;    /**     * Pixel height of grid, set after generate. For non-equidistant     * projections, this will be a bounding box height.     */    public int height = 0;    /**     * Pixel width of grid, set after generate. For non-equidistant     * projections, this will be a bounding box width.     */    public int width = 0;    /**     * Value of a bad/invalid point in the grid. Has roots in the DTED     * way of doing things.     */    public final static int GRID_NULL = -32767;    /** An object that knows how to generate graphics for the matrix. */    protected OMGridGenerator generator = null;    /**     * Means that the first dimension of the array refers to the     * column count.     */    public static final boolean COLUMN_MAJOR = true;    /**     * Means that the first dimension of the array refers to the row     * count.     */    public static final boolean ROW_MAJOR = false;    /**     * Keep track of which dimension different parts of the double     * array represent. COLUMN_MAJOR is the default, meaning that the     * first dimension of the array represents the vertical location     * in the array, and the second is the horizontal location in the     * array.     */    protected boolean major = COLUMN_MAJOR;    /**     * The units, if needed, of the values contained in the grid data     * array. Null value is default and acceptable.     */    protected Length units = null;    /** Default constructor. */    public OMGrid() {}    /**     * Create a OMGrid that covers a lat/lon area. Column major by     * default. If your data is row major, use null for the data, set     * the major direction, and then set the data.     *      * @param lat latitude of lower left corner of the grid, in     *        decimal degrees.     * @param lon longitude of lower left corner of the grid, in     *        decimal degrees.     * @param vResolution the vertical resolution of the data, as     *        decimal degrees per row.     * @param hResolution the horizontal resolution of the data, as     *        decimal degrees per column.     * @param data a double array of integers, representing the rows     *        and columns of data.     */    public OMGrid(float lat, float lon, float vResolution, float hResolution,            int[][] data) {        setRenderType(RENDERTYPE_LATLON);        set(lat, lon, 0, 0, vResolution, hResolution, data);    }    /**     * Create a OMGrid that covers a x/y screen area.Column major by     * default. If your data is row major, use null for the data, set     * the major direction, and then set the data.     *      * @param x horizontal location, in pixels, of the left side of     *        the grid from the left side of the map.     * @param y vertical location, in pixels, of the top of the grid     *        from the top side of the map.     * @param vResolution the vertical resolution of the data, as     *        pixels per row.     * @param hResolution the horizontal resolution of the data, as     *        pixels per column.     * @param data a double array of integers, representing the rows     *        and columns of data.     */    public OMGrid(int x, int y, float vResolution, float hResolution,            int[][] data) {        setRenderType(RENDERTYPE_XY);        set(0.0f, 0.0f, x, y, vResolution, hResolution, data);    }    /**     * Create a OMGrid that covers a x/y screen area, anchored to a     * lat/lon point. Column major by default. If your data is row     * major, use null for the data, set the major direction, and then     * set the data.     *      * @param lat latitude of the anchor point of the grid, in decimal     *        degrees.     * @param lon longitude of the anchor point of the grid, in     *        decimal degrees.     * @param x horizontal location, in pixels, of the left side of     *        the grid from the longitude anchor point.     * @param y vertical location, in pixels, of the top of the grid     *        from the latitude anchor point.     * @param vResolution the vertical resolution of the data, as     *        pixels per row.     * @param hResolution the horizontal resolution of the data, as     *        pixels per column.     * @param data a double array of integers, representing the rows     *        and columns of data.     */    public OMGrid(float lat, float lon, int x, int y, float vResolution,            float hResolution, int[][] data) {        setRenderType(RENDERTYPE_OFFSET);        set(lat, lon, x, y, vResolution, hResolution, data);    }    /**     * Create a OMGrid that covers a lat/lon area. Column major by     * default. If your data is row major, use null for the data, set     * the major direction, and then set the data.     *      * @param lat latitude of lower left corner of the grid, in     *        decimal degrees.     * @param lon longitude of lower left corner of the grid, in     *        decimal degrees.     * @param vResolution the vertical resolution of the data, as     *        decimal degrees per row.     * @param hResolution the horizontal resolution of the data, as     *        decimal degrees per column.     * @param data GridData object holding rows and columns of grid data.     */    public OMGrid(float lat, float lon, float vResolution, float hResolution,            GridData data) {        setRenderType(RENDERTYPE_LATLON);        set(lat, lon, 0, 0, vResolution, hResolution, data);    }    /**     * Create a OMGrid that covers a x/y screen area.Column major by     * default. If your data is row major, use null for the data, set     * the major direction, and then set the data.     *      * @param x horizontal location, in pixels, of the left side of     *        the grid from the left side of the map.     * @param y vertical location, in pixels, of the top of the grid     *        from the top side of the map.     * @param vResolution the vertical resolution of the data, as     *        pixels per row.     * @param hResolution the horizontal resolution of the data, as     *        pixels per column.     * @param data GridData object holding rows and columns of grid data.     */    public OMGrid(int x, int y, float vResolution, float hResolution,            GridData data) {        setRenderType(RENDERTYPE_XY);        set(0.0f, 0.0f, x, y, vResolution, hResolution, data);    }    /**     * Create a OMGrid that covers a x/y screen area, anchored to a     * lat/lon point. Column major by default. If your data is row     * major, use null for the data, set the major direction, and then     * set the data.     *      * @param lat latitude of the anchor point of the grid, in decimal     *        degrees.     * @param lon longitude of the anchor point of the grid, in     *        decimal degrees.     * @param x horizontal location, in pixels, of the left side of

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人在线一区二区三区| 成人av在线一区二区三区| 国产免费久久精品| 91精选在线观看| 99精品在线观看视频| 激情综合网av| 日韩av一区二区在线影视| 亚洲欧美激情视频在线观看一区二区三区| 91精品国产高清一区二区三区 | 欧美日韩高清一区二区三区| 国产99久久久精品| 青青草国产精品亚洲专区无| 亚洲国产va精品久久久不卡综合| 国产精品人成在线观看免费| 精品剧情v国产在线观看在线| 欧美日韩国产一级片| 色婷婷亚洲婷婷| av中文字幕亚洲| 成人免费视频免费观看| 国产福利一区在线| 国产自产2019最新不卡| 麻豆成人av在线| 日韩二区三区在线观看| 亚洲va韩国va欧美va精品| 亚洲另类在线一区| 亚洲欧洲日韩综合一区二区| 国产精品五月天| 中文乱码免费一区二区| 久久亚洲综合色| 久久久不卡网国产精品二区| 欧美精品一区二区久久婷婷| 欧美大尺度电影在线| 日韩午夜小视频| 日韩视频不卡中文| 欧美成人福利视频| 久久综合九色综合欧美98| 精品美女在线播放| 26uuuu精品一区二区| 欧美精品一区二区三区蜜臀| 久久你懂得1024| 国产日产欧美一区| 国产精品国产三级国产| 国产精品萝li| 1024成人网| 一区二区三区国产豹纹内裤在线 | 日本一区免费视频| 久久九九影视网| 国产欧美日韩在线观看| 国产精品久久久久久户外露出| 中文字幕不卡三区| 亚洲色图19p| 亚洲成人综合网站| 久久99最新地址| 国产精品一区二区91| 不卡的av在线播放| 欧美影院精品一区| 91精品一区二区三区久久久久久| 日韩视频免费观看高清在线视频| 精品第一国产综合精品aⅴ| 国产午夜亚洲精品理论片色戒 | 国产伦精一区二区三区| 国产精品一区二区久久精品爱涩| 成人短视频下载| 欧美午夜片在线看| 精品剧情v国产在线观看在线| 国产欧美久久久精品影院| 亚洲免费av网站| 人禽交欧美网站| 大尺度一区二区| 欧美日韩在线直播| 精品99久久久久久| 亚洲精品中文在线影院| 老司机精品视频导航| voyeur盗摄精品| 5566中文字幕一区二区电影| 久久久精品人体av艺术| 一区二区三区中文在线观看| 免费看日韩精品| 91在线视频播放| 精品噜噜噜噜久久久久久久久试看| 久久精品亚洲精品国产欧美kt∨| 日韩一区欧美小说| 精品亚洲porn| 欧美性猛交xxxx黑人交| 久久尤物电影视频在线观看| 亚洲欧洲另类国产综合| 久久成人久久爱| 色88888久久久久久影院野外| 欧美一区二区三区在线观看 | 国产精品麻豆久久久| 日韩精品亚洲专区| 99国产欧美另类久久久精品| 精品国精品国产| 亚洲第一搞黄网站| 成人性生交大合| 精品盗摄一区二区三区| 亚洲一级二级在线| av一区二区三区| 国产亚洲成av人在线观看导航| 亚洲地区一二三色| 91丨九色丨黑人外教| 精品国产免费久久| 亚洲成a天堂v人片| 一本大道久久a久久精二百| 精品国产亚洲在线| 日本欧美肥老太交大片| 色综合久久88色综合天天| 欧美激情一区二区在线| 久久精品国产精品亚洲红杏| 欧美三区在线观看| 亚洲一区在线观看视频| 91美女福利视频| 国产精品久久久久永久免费观看| 国产专区综合网| 欧美一级午夜免费电影| 丝袜脚交一区二区| 欧美日韩一区二区三区四区| 国产精品久久久久毛片软件| 国产美女久久久久| 久久亚洲精品小早川怜子| 久久精品国产**网站演员| 5月丁香婷婷综合| 日韩电影在线观看一区| 欧美高清视频www夜色资源网| 一区二区三区在线观看动漫| 不卡的av网站| 国产精品区一区二区三区| 国产成人免费视频| 久久久www免费人成精品| 韩国女主播成人在线| 精品国产一区二区三区不卡| 久久99精品久久只有精品| 精品日产卡一卡二卡麻豆| 久久99精品国产.久久久久久 | 精品福利一区二区三区| 久久国产精品免费| 久久亚洲精品国产精品紫薇| 国内不卡的二区三区中文字幕| 久久综合狠狠综合久久激情| 国产精品一区在线观看乱码 | 国产欧美一区二区精品性| 国产高清久久久| 国产精品美女一区二区在线观看| 成人一区二区三区视频在线观看| 国产精品免费视频网站| av亚洲精华国产精华精华| 亚洲男人的天堂av| 欧美性生交片4| 日韩av电影天堂| 欧美大白屁股肥臀xxxxxx| 国产乱妇无码大片在线观看| 亚洲国产精品成人综合| 99精品偷自拍| 日韩影视精彩在线| 精品国产sm最大网站| 粉嫩av一区二区三区在线播放| 国产精品九色蝌蚪自拍| 欧美性色黄大片手机版| 久久av中文字幕片| 国产精品素人视频| 欧美日韩在线免费视频| 久久精品国产精品青草| 日本一区二区成人| 欧美三级电影精品| 激情小说亚洲一区| 国产精品白丝在线| 3atv一区二区三区| 国产黄色精品视频| 亚洲影院久久精品| 精品久久人人做人人爰| 99国产精品久久久久| 香蕉久久夜色精品国产使用方法 | 国产精品女人毛片| 欧洲国产伦久久久久久久| 久久99精品国产91久久来源| 综合欧美亚洲日本| 91精品欧美一区二区三区综合在| 国产成人av在线影院| 天堂精品中文字幕在线| 国产三级精品视频| 欧美另类z0zxhd电影| 丁香六月综合激情| 午夜不卡av免费| 国产精品乱子久久久久| 欧美一区二区成人| zzijzzij亚洲日本少妇熟睡| 日韩和欧美一区二区三区| 国产精品不卡一区二区三区| 日韩亚洲欧美在线| 日本精品一级二级| 国产一区二区日韩精品| 亚洲综合成人在线视频| 国产日韩精品一区二区三区 | 91色porny在线视频| 麻豆国产精品一区二区三区| 一区二区三区资源| 国产精品久久久久9999吃药| 精品福利二区三区| 91麻豆精品国产91久久久久| 色欧美日韩亚洲|