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

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

?? omgeometry.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/omGraphics/OMGeometry.java,v $// $RCSfile: OMGeometry.java,v $// $Revision: 1.3.2.3 $// $Date: 2005/01/10 16:59:43 $// $Author: dietrick $// // **********************************************************************package com.bbn.openmap.omGraphics;import java.awt.Graphics;import java.awt.geom.GeneralPath;import java.util.Map;import com.bbn.openmap.proj.Projection;/** * Base class of OpenMap OMGraphics geometry. * <p> *  * The geometry classes are intended to pull the object location data * out of the OMGraphics. If you have a bunch of OMGraphics that are * all rendered with common attributes, you can create a bunch of * OMGeometry objects to plavce in a OMGeometryList that will render * them all alike. *  * @see OMGeometryList * @see Projection */public interface OMGeometry {    /**     * Set the line type for the graphic, which will affect how the     * lines will be drawn. See the definition of the lineType     * parameter. Accepts LINETYPE_RHUMB, LINETYPE_STRAIGHT and     * LINETYPE_GREATCIRCLE. Any weird values get set to     * LINETYPE_STRAIGHT.     *      * @param value the line type of the graphic.     */    public void setLineType(int value);    /**     * Return the line type.     *      * @return the linetype - LINETYPE_RHUMB, LINETYPE_STRAIGHT,     *         LINETYPE_GREATCIRCLE or LINETYPE_UNKNOWN.     */    public int getLineType();    /**     * Return the render type.     *      * @return the rendertype of the object - RENDERTYPE_LATLON,     *         RENDERTYPE_XY, RENDERTYPE_OFFSET and     *         RENDERTYPE_UNKNOWN.     */    public int getRenderType();    /**     * Sets the regenerate flag for the graphic. This flag is used to     * determine if extra work needs to be done to prepare the object     * for rendering.     *      * @param value boolean     */    public void setNeedToRegenerate(boolean value);    /**     * Return the regeneration status.     *      * @return boolean     */    public boolean getNeedToRegenerate();    /**     * Set the visibility variable. NOTE: <br>     * This is checked by the OMGeometryList when it iterates through     * its list for render and gesturing. It is not checked by the     * internal OMGeometry methods, although maybe it should be...     *      * @param visible boolean     */    public void setVisible(boolean visible);    /**     * Get the visibility variable.     *      * @return boolean     */    public boolean isVisible();    /**     * Let the geometry object know that it is selected. No action     * mandated.     */    public void select();    /**     * Let the geometry object know that it is not selected. No action     * mandated.     */    public void deselect();    /**     * Holds an application specific object for later access. This can     * be used to associate an application object with an OMGeometry     * for later retrieval. For instance, when the graphic is clicked     * on, the application gets the OMGeometry object back from the     * OMGeometryList, and can then get back to the application level     * object through this pointer.     *      * @param obj Object     */    public void setAppObject(Object obj);    /**     * Gets the application's object pointer.     *      * @return Object     */    public Object getAppObject();    /**     * Set an attribute in an OMGeometry.     */    public void putAttribute(Object key, Object value);    /**     * Get an attribute from an OMGeometry.     */    public Object getAttribute(Object key);    /**     * Remove an attribute from the OMGeometry.     */    public Object removeAttribute(Object key);    /**     * Clear attributes from the OMGeometry.     */    public void clearAttributes();    /**     * Set all attributes on the OMGeometry.     */    public void setAttributes(Map attributes);    /**     * Get all attributes from the OMGeometry.     */    public Map getAttributes();    //////////////////////////////////////////////////////////////////////////    /**     * Prepare the geometry for rendering. This must be done before     * calling <code>render()</code>! If a vector graphic has     * lat-lon components, then we project these vertices into x-y     * space. For raster graphics we prepare in a different fashion.     * <p>     * If the generate is unsuccessful, it's usually because of some     * oversight, (for instance if <code>proj</code> is null), and     * if debugging is enabled, a message may be output to the     * controlling terminal.     * <p>     *      * @param proj Projection     * @return boolean true if successful, false if not.     * @see #regenerate     */    public boolean generate(Projection proj);    /**     *       */    public boolean isRenderable();    /**     * Paint the graphic, as a filled shape.     * <P>     *      * This paints the graphic into the Graphics context. This is     * similar to <code>paint()</code> function of     * java.awt.Components. Note that if the graphic has not been     * generated or if it isn't visible, it will not be rendered.     * <P>     *      * This method used to be abstract, but with the conversion of     * OMGeometrys to internally represent themselves as     * java.awt.Shape objects, it's a more generic method. If the     * OMGeometry hasn't been updated to use Shape objects, it should     * have its own render method.     *      * @param g Graphics2D context to render into.     */    public void fill(Graphics g);    /**     * Paint the graphic, as an outlined shape.     * <P>     *      * This paints the graphic into the Graphics context. This is     * similar to <code>paint()</code> function of     * java.awt.Components. Note that if the graphic has not been     * generated or if it isn't visible, it will not be rendered.     * <P>     *      * This method used to be abstract, but with the conversion of     * OMGeometrys to internally represent themselves as     * java.awt.Shape objects, it's a more generic method. If the     * OMGeometry hasn't been updated to use Shape objects, it should     * have its own render method.     *      * @param g Graphics2D context to render into.     */    public void draw(Graphics g);    /**     * Return the shortest distance from the graphic to an XY-point.     * <p>     *      * This method used to be abstract, but with the conversion of     * OMGeometrys to internally represent themselves as     * java.awt.Shape objects, it's a more generic method. If the     * OMGeometry hasn't been updated to use Shape objects, it should     * have its own distance method.     *      * @param x X coordinate of the point.     * @param y Y coordinate of the point.     * @return float distance, in pixels, from graphic to the point.     *         Returns Float.POSITIVE_INFINITY if the graphic isn't     *         ready (ungenerated).     */    public float distance(int x, int y);    /**     * Answsers the question whether or not the OMGeometry contains     * the given pixel point.     * <P>     * This method used to be abstract, but with the conversion of     * OMGeometrys to internally represent themselves as     * java.awt.Shape objects, it's a more generic method. If the     * OMGeometry hasn't been updated to use Shape objects, it should     * have its own contains method.     * <P>     * This method duplicates a java.awt.Shape method, with some     * protection wrapped around it. If you have other queries for the     * internal Shape object, just ask for it and then ask it     * directly. This method is provided because it is the most     * useful, used when determining if a mouse event is occuring over     * an object on the map.     *      * @param x X pixel coordinate of the point.     * @param y Y pixel coordinate of the point.     * @return getShape().contains(x, y), false if the OMGraphic     *         hasn't been generated yet.     */    public boolean contains(int x, int y);    /**     * Invoke this to regenerate a "dirty" graphic. This method is a     * wrapper around the <code>generate()</code> method. It invokes     * <code>generate()</code> only if</code> needToRegenerate()     * </code> on the graphic returns true. To force a graphic to be     * generated, call <code>generate()</code> directly.     *      * @param proj the Projection     * @return true if generated, false if didn't do it (maybe a     *         problem).     * @see #generate     */    public boolean regenerate(Projection proj);    /**     * Get the java.awt.Shape object that represents the projected     * graphic.     * <p>     *      * The java.awt.Shape object gives you the ability to do a little     * spatial analysis on the graphics.     *      * @return java.awt.geom.GeneralPath (Shape), or null if the     *         graphic needs to be generated with the current map     *         projection, or null if the OMGeometry hasn't been     *         updated to use Shape objects for its internal     *         representation.     */    public GeneralPath getShape();    /**     * Set the java.awt.Shape object that represents the projected     * graphic. Ideally, the OMGeometry will set this internally. This     * method is provided to clear out the object to save memory, or     * to allow manipulations if the situation dictates.     * <p>     *      * The java.awt.Shape object gives you the ability to do a little     * spatial analysis on the graphics.     *      * @param gp java.awt.geom.GeneralPath (Shape), or null if the     *        graphic needs to be cleared or regenerated.     */    public void setShape(GeneralPath gp);}

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产在线视频精品一区| 久久99精品视频| 日韩免费观看高清完整版 | 成人av中文字幕| 亚洲精品国产a| 制服丝袜日韩国产| 色综合久久久久网| 成人一区二区在线观看| 国产午夜精品一区二区| 欧美午夜影院一区| 成人午夜激情在线| 久久精品国产久精国产| 一区二区三区在线免费播放| 国产日韩精品一区二区三区 | 日韩三级视频在线观看| 欧美色视频在线观看| 成人av网址在线观看| 国内精品视频一区二区三区八戒| 午夜视频在线观看一区二区| 国产精品久久久久久久久免费樱桃| 欧美大白屁股肥臀xxxxxx| 色综合天天做天天爱| 毛片不卡一区二区| 美女mm1313爽爽久久久蜜臀| 午夜精品久久久| 韩国v欧美v亚洲v日本v| 亚洲综合色视频| 欧美videos中文字幕| av资源网一区| 免费人成在线不卡| 久久青草国产手机看片福利盒子 | 亚洲精品欧美在线| 日本一区二区三区四区在线视频| 在线综合视频播放| 日韩精品自拍偷拍| 日韩免费在线观看| 日韩免费一区二区| 精品成a人在线观看| 日韩欧美另类在线| 26uuu亚洲综合色欧美| 2023国产精品自拍| 久久日一线二线三线suv| 91麻豆精品国产91久久久资源速度 | 成人动漫在线一区| 成人动漫一区二区| 色婷婷久久久久swag精品| 欧美三级午夜理伦三级中视频| 欧美性xxxxxx少妇| 欧美一区二区三区喷汁尤物| 欧美一区二区三区四区视频| 亚洲精品一区二区三区福利| 久久精品视频在线看| 国产精品网曝门| 亚洲视频资源在线| 激情丁香综合五月| 欧美影院精品一区| 久久精品一区二区三区av| 亚洲高清免费在线| 成人aa视频在线观看| 在线视频你懂得一区二区三区| 欧美一级片在线看| 成人欧美一区二区三区| 久久99国产精品尤物| 91欧美一区二区| 久久久精品欧美丰满| 亚洲一区二区三区四区在线免费观看 | 男男gaygay亚洲| 色综合天天综合网天天看片| 日韩欧美在线网站| 一二三区精品视频| 风流少妇一区二区| 欧美美女一区二区三区| 亚洲码国产岛国毛片在线| 国产一区二区精品在线观看| 欧美视频精品在线| 亚洲欧美色综合| 国产98色在线|日韩| 日韩精品一区二区三区中文不卡| 夜夜揉揉日日人人青青一国产精品 | 欧美一区二区大片| 自拍偷拍亚洲激情| 国产乱码字幕精品高清av| 欧美精品日韩一本| 亚洲国产精品尤物yw在线观看| 国产成人免费视频精品含羞草妖精 | 欧美三级资源在线| 亚洲图片另类小说| 99久久精品免费| 国产精品国产三级国产aⅴ入口| 国产成人免费网站| 欧美韩国日本综合| 国产成人超碰人人澡人人澡| 精品999久久久| 麻豆成人在线观看| 日韩一区二区三区免费看| 日韩av电影免费观看高清完整版在线观看| 色哟哟国产精品| 亚洲成a人v欧美综合天堂 | 国产一区 二区| 欧美激情资源网| 99久久国产综合色|国产精品| 一区在线中文字幕| 欧美在线高清视频| 亚洲国产精品久久人人爱| 欧美三区在线观看| 老司机精品视频导航| 久久综合狠狠综合久久综合88| 韩国av一区二区三区| 国产欧美va欧美不卡在线| 91亚洲大成网污www| 亚洲伦理在线精品| 欧美挠脚心视频网站| 国产一区二区在线电影| 亚洲天堂免费看| 欧美军同video69gay| 免费不卡在线视频| 精品国产亚洲在线| 91视频精品在这里| 奇米四色…亚洲| ...av二区三区久久精品| 欧美日产在线观看| 懂色av一区二区在线播放| 亚洲激情综合网| 337p粉嫩大胆噜噜噜噜噜91av| 国产成人免费视频精品含羞草妖精| 中文字幕在线观看一区| 日韩欧美国产一二三区| 91免费视频网| 国产精品影视在线观看| 亚洲精品免费看| 国产午夜亚洲精品午夜鲁丝片 | 国产精品电影院| 久久伊人中文字幕| 欧美人xxxx| 欧美在线你懂得| 99热在这里有精品免费| 成人永久免费视频| 免费观看在线综合| 亚洲综合色视频| 亚洲欧美乱综合| 中文字幕中文字幕在线一区 | 一本大道久久a久久精二百| 不卡的av在线| 波多野结衣亚洲| 国产一区二区三区免费看| 人禽交欧美网站| 秋霞av亚洲一区二区三| 午夜视频在线观看一区二区| 亚洲一区二区成人在线观看| 中文字幕不卡的av| 国产亚洲精品bt天堂精选| 欧美成人精精品一区二区频| 日韩免费看的电影| 精品日韩一区二区三区| 欧美日韩大陆在线| 欧美日韩精品欧美日韩精品一| 日本久久电影网| 在线观看成人免费视频| 欧美日韩在线不卡| 欧美日韩一卡二卡三卡| 欧美日产国产精品| 欧美一区二区三区在线看| 欧美日韩国产一级| 91精品国产欧美一区二区18 | 成人aa视频在线观看| 成人av影视在线观看| 97精品国产97久久久久久久久久久久 | 懂色av一区二区三区免费观看| 国产麻豆一精品一av一免费| 久久66热re国产| 精品午夜一区二区三区在线观看| 国产又黄又大久久| 成人国产亚洲欧美成人综合网 | 欧美一级一区二区| 国产校园另类小说区| 国产精品高清亚洲| 香蕉乱码成人久久天堂爱免费| 天堂久久一区二区三区| 久久精品国产99国产精品| 成人免费看视频| 欧美日精品一区视频| 日韩免费高清视频| 国产精品日韩成人| 亚洲国产精品一区二区www在线| 秋霞午夜鲁丝一区二区老狼| 国产乱国产乱300精品| av不卡免费在线观看| 欧美成人高清电影在线| 亚洲人成网站精品片在线观看| 日本不卡在线视频| 丰满少妇久久久久久久| 在线视频你懂得一区| 欧美大度的电影原声| 亚洲小少妇裸体bbw| 成人精品gif动图一区| 正在播放亚洲一区| 亚洲另类春色校园小说| 国产一区二区美女诱惑| 色欧美88888久久久久久影院| www激情久久|