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

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

?? vhtransform.java

?? openmap java寫的開源數字地圖程序. 用applet實現,可以像google map 那樣放大縮小地圖.
?? JAVA
?? 第 1 頁 / 共 2 頁
字號:
// **********************************************************************// // <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/util/VHTransform.java,v $// $RCSfile: VHTransform.java,v $// $Revision: 1.3.2.1 $// $Date: 2004/10/14 18:27:46 $// $Author: dietrick $// // **********************************************************************package com.bbn.openmap.util;/* Cathleen Lancaster - 6 Hutcheson *//** * The VH coordinate system is used by ATT to compute distance used in * determining phone call costs. * <P> *  * VH coordinates can be used to compute distance simply, see * distance(). * <P> *  * This code is based on C code provided by the authors mentioned * below, as well as Lisp code by Larry Denenberg of BBN. * <P> *  * I have ported this code to Java, unified the forward and inverse * transformations and added some comments. I've left basic code and * comments mostly intact. * <P> *  * The url's to the original emails are: * <P> *  * http://x11.dejanews.com/getdoc.xp?AN=177302113&CONTEXT=895858362.931528704&hitnum=1 * <BR> * http://x11.dejanews.com/getdoc.xp?AN=223540739&CONTEXT=895858362.931528704&hitnum=5 */public class VHTransform {    /* Polynomial constants */    public static final double K1 = .99435487;    public static final double K2 = .00336523;    public static final double K3 = -.00065596;    public static final double K4 = .00005606;    public static final double K5 = -.00000188;    /* PI in various forms */    public static final double M_PI_2 = Math.PI / 2.0;    /*     * spherical coordinates of eastern reference point EX^2 + EY^2 +     * EZ^2 = 1     */    public static final double EX = .40426992;    public static final double EY = .68210848;    public static final double EZ = .60933887;    /*     * spherical coordinates of western reference point WX^2 + WY^2 +     * WZ^2 = 1     */    public static final double WX = .65517646;    public static final double WY = .37733790;    public static final double WZ = .65449210;    /* spherical coordinates of V-H coordinate system */    /* PX^2 + PY^2 + PZ^2 = 1 */    public static final double PX = -0.555977821730048699;    public static final double PY = -0.345728488161089920;    public static final double PZ = 0.755883902605524030;    /* Rotation by 76 degrees */    public final static double rot = radians(76.597497064);    public final static double ROTC = Math.cos(rot);    public final static double ROTS = Math.sin(rot);    public static double radians(double degrees) {        return degrees * Math.PI / 180.0;    }    public static double degrees(double radians) {        return radians * 180.0 / Math.PI;    }    /* orthogonal translation values */    public static final double TRANSV = 6363.235;    public static final double TRANSH = 2250.700;    /** radius of earth in sqrt(0.1)-mile units, minus 0.3 percent */    public static final double RADIUS = 12481.103;    public static final double K9 = RADIUS * ROTC;    public static final double K10 = RADIUS * ROTS;    public VHTransform() {}    /** Return the V corresponding to the most recent toVH(). * */    public double getV() {        return this.resultV;    }    /** Return the H corresponding to the most recent toVH(). * */    public double getH() {        return this.resultH;    }    /**     * Return the latitude corresponding to the most recent     * toLatLon(). *     */    public double getLat() {        return this.resultLat;    }    /**     * Return the longitude corresponding to the most recent     * toLatLon(). *     */    public double getLon() {        return this.resultLon;    }    /** Return the distance in miles between 2 VH pairs. * */    public static double distance(double v1, double h1, double v2, double h2) {        double dv = v2 - v1;        double dh = h2 - h1;        // Was        //      return Math.sqrt(dv*dv + dh*dh)/10.0;        // Now, thanks to Andrew Canfield        return Math.sqrt((dv * dv + dh * dh) / 10.0);    }    private double resultV = 0.0;    private double resultH = 0.0;    private double resultLat = 0.0;    private double resultLon = 0.0;    /*     *      * Subject: Re: AT&T V-H Coordinates From: shoppa@alph02.triumf.ca     * (Tim Shoppa) Date: 1996/08/28 Message-ID:     * <telecom16.450.6@massis.lcs.mit.edu> Newsgroups:     * comp.dcom.telecom [More Headers] [Subscribe to     * comp.dcom.telecom]     *      * In article <telecom16.437.8@massis.lcs.mit.edu>, Drew Larsen     * <dlarsen@objectwave.com> wrote:     *  > Ok folks, scratch your heads and see if you can remember how     * to > translate a point on the earth measured in     * latitude/longitude to the > commonly used V&H system used in     * the telecom industry.     *      * Below is a past post by Stu Jeffery containing a program which     * does the conversion the other way. If anybody is willing to buy     * me a nice lunch (my standard fee for two dimensional function     * inversion), I'll modify it to go both ways :-)     *      * Tim Shoppa, TRIUMF theory group | Internet: shoppa@triumf.ca     * TRIUMF, Canada's National Meson Facility | Voice: 604-222-1047     * loc 6446 4004 WESBROOK MALL, UBC CAMPUS | FAX: 604-222-1074     * University of British Columbia, Vancouver, B.C., CANADA V6T 2A3     *      * Article: 54928 of comp.dcom.telecom Date: Tue, 29 Aug 1995     * 00:16:38 -0800 From: stu@shell.portal.com (Stu Jeffery)     * Subject: Re: V&H Questions Message-ID:     * <telecom15.362.11@eecs.nwu.edu> X-Telecom-Digest: Volume 15,     * Issue 362, Message 11 of 11     *      * Attached is a C program that will do what you want. I don't     * know anything more than what is here. I think it was posted in     * a news group, so use at your own legal risk. I have compiled it     * and it works fine.     *      * Going the other way is a bit more complicated. Probably the     * simplest way is by successive approximation.     *      * Good Luck.     *      * -----------------------------------------     */    /**     * Computes Bellcore/AT&T V & H (vertical and horizontal)     * coordinates from latitude and longitude. Used primarily by     * local exchange carriers (LEC's) to compute the V & H     * coordinates for wire centers.     * <P>     *      * This is an implementation of the Donald Elliptical Projection,     * a Two-Point Equidistant projection developed by Jay K. Donald     * of AT&T in 1956 to establish long-distance telephone rates.     * (ref: "V-H Coordinate Rediscovered", Eric K. Grimmelmann, Bell     * Labs Tech. Memo, 9/80. (References Jay Donald notes of Jan 17,     * 1957.)) Ashok Ingle of Bellcore also wrote an internal memo on     * the subject.     * <P>     *      * The projection is specially modified for the ellipsoid and is     * confined to the United States and southern Canada.     * <P>     *      * Derived from a program obtained from an anonymous author within     * Bellcore by way of the National Exchange Carrier Association.     * Cleaned up and improved a bit by Tom Libert (tom@comsol.com,     * libert@citi.umich.edu).     * <P>     *      * CASH REWARD for copies of the reference papers, or for an

?? 快捷鍵說明

復制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
国产毛片精品一区| 日韩欧美中文字幕公布| 日本一区二区视频在线观看| 久久99国产精品麻豆| 日韩久久免费av| 日韩黄色片在线观看| 欧美色倩网站大全免费| 亚洲狠狠爱一区二区三区| 99精品欧美一区二区蜜桃免费| 久久综合国产精品| 国产一区二区精品久久91| 日韩你懂的电影在线观看| 日韩精品一级二级| 6080国产精品一区二区| 青青草97国产精品免费观看| 欧美一区二区三区思思人| 日韩电影在线观看电影| 欧美精品三级在线观看| 日本美女一区二区| 日韩欧美中文字幕一区| 国产永久精品大片wwwapp| 国产精品乱人伦一区二区| 日本成人中文字幕| 欧美日韩电影在线| 亚洲一区二区三区四区中文字幕| 91色婷婷久久久久合中文| 一区二区三区四区在线播放 | 国模冰冰炮一区二区| 久久色.com| 99精品视频在线免费观看| 一区二区三区精品久久久| 91视频免费播放| 中文字幕在线一区| 色综合久久88色综合天天6| 亚洲女人****多毛耸耸8| 欧美在线免费播放| 男男视频亚洲欧美| 2020国产精品| av中文字幕在线不卡| 亚洲免费观看高清完整版在线| 色呦呦日韩精品| 日韩电影在线免费观看| 国产亚洲精品中文字幕| 欧美色视频在线观看| 日本少妇一区二区| 综合激情网...| 欧美日韩高清影院| 成人精品gif动图一区| 天天影视网天天综合色在线播放| 久久日韩粉嫩一区二区三区| 精品视频资源站| 国产乱人伦偷精品视频免下载 | 不卡的av在线播放| 午夜精品福利一区二区蜜股av| 欧美美女网站色| 韩国女主播一区| 亚洲精品国产品国语在线app| 欧美精品一区男女天堂| 欧美在线观看视频一区二区| 五月天欧美精品| www欧美成人18+| 欧美无砖专区一中文字| 成人小视频免费观看| 性感美女极品91精品| 国产精品午夜在线| 欧美一区二区观看视频| 91黄色激情网站| 成人自拍视频在线| 激情小说亚洲一区| 亚洲成人777| 国产日韩欧美亚洲| 欧美精品久久一区| av电影在线观看一区| 免费人成精品欧美精品| 亚洲精品成人少妇| 久久亚洲一级片| 欧美高清hd18日本| 91网站最新地址| 七七婷婷婷婷精品国产| 亚洲乱码国产乱码精品精的特点 | 成人午夜大片免费观看| 蜜臀久久99精品久久久久宅男| 亚洲综合免费观看高清在线观看 | 久久亚洲一区二区三区四区| 欧美精品亚洲一区二区在线播放| 99国产精品视频免费观看| 国产精品 欧美精品| 韩国毛片一区二区三区| 久久精品噜噜噜成人88aⅴ| 免费在线看成人av| 日产欧产美韩系列久久99| 五月天激情小说综合| 日韩激情av在线| 亚洲伊人色欲综合网| 一区二区三区日韩精品| 亚洲精品日日夜夜| 亚洲精品国产第一综合99久久 | 99精品在线免费| 9人人澡人人爽人人精品| 成人福利视频在线看| 成人h动漫精品| 成人国产电影网| 99re在线精品| 成人18视频日本| 不卡视频在线看| 国产高清成人在线| 奇米777欧美一区二区| 麻豆精品视频在线观看视频| 免费高清视频精品| 日韩不卡在线观看日韩不卡视频| 亚洲制服丝袜av| 日韩电影免费一区| 激情欧美一区二区| 国产成人精品免费一区二区| 成人精品高清在线| 91同城在线观看| 欧美亚一区二区| 3d成人h动漫网站入口| 日韩三级精品电影久久久| 欧美精品一区二区三区久久久| 日韩欧美综合在线| 欧美极品另类videosde| 亚洲女同女同女同女同女同69| 亚洲一区二区黄色| 午夜精品久久一牛影视| 麻豆精品国产91久久久久久| 国产一区二区三区日韩| 成人国产精品视频| 欧洲中文字幕精品| 国产网红主播福利一区二区| 久久精品视频在线看| 亚洲欧洲制服丝袜| 亚洲一区二区三区四区五区中文| 亚洲精品日韩专区silk| 蜜桃视频免费观看一区| 一本一本久久a久久精品综合麻豆| 欧美精品在线观看一区二区| 国产精品丝袜黑色高跟| 丝袜亚洲另类欧美| 成人av在线资源| 欧美一级午夜免费电影| 综合久久久久久| 精品一区在线看| 91福利国产成人精品照片| 久久午夜羞羞影院免费观看| 国产欧美精品一区二区色综合朱莉 | 国产精品福利影院| 麻豆freexxxx性91精品| 91热门视频在线观看| 精品欧美一区二区三区精品久久| 亚洲乱码一区二区三区在线观看| 经典一区二区三区| 欧美色视频在线| 中文字幕亚洲在| 国产麻豆精品95视频| 欧美日韩卡一卡二| 亚洲人成亚洲人成在线观看图片| 亚洲高清一区二区三区| 国产精品一区二区你懂的| 欧美在线制服丝袜| 欧美v日韩v国产v| 久久精品72免费观看| 欧洲另类一二三四区| 国产精品久久影院| 国产精品综合网| 精品国产伦理网| 蜜臀久久久99精品久久久久久| 色呦呦网站一区| 亚洲色图欧洲色图| www.久久精品| 国产欧美日韩精品一区| 国产精品一区在线观看乱码| 日韩三级免费观看| 免费在线观看视频一区| 91原创在线视频| 中文字幕欧美三区| 不卡电影免费在线播放一区| 国产亚洲精品7777| 国产成人午夜精品影院观看视频| 日韩精品中午字幕| 日本va欧美va精品| 日韩欧美国产一二三区| 人人爽香蕉精品| 91麻豆精品国产91久久久久| 偷窥少妇高潮呻吟av久久免费| 欧美日韩国产综合草草| 调教+趴+乳夹+国产+精品| 日韩一区二区三免费高清| 亚洲不卡av一区二区三区| 91玉足脚交白嫩脚丫在线播放| 中文字幕一区二区三区精华液 | 久久久亚洲高清| 国产精品一区二区免费不卡 | 亚洲日本一区二区三区| 99re热视频精品| 综合久久国产九一剧情麻豆| 99久久免费精品高清特色大片| 亚洲精品乱码久久久久| 欧美欧美欧美欧美| 日韩精品高清不卡|