亚洲欧美第一页_禁久久精品乱码_粉嫩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一区二区三区免费野_久草精品视频
欧美片网站yy| 亚洲精品一二三| 久久99精品久久久久久 | 国产成人av电影在线播放| 精品久久久久久久久久久久久久久久久 | 在线视频中文字幕一区二区| 亚洲黄一区二区三区| 色婷婷综合久久久中文字幕| 亚洲午夜精品网| 日韩免费电影网站| 国产电影一区在线| 亚洲日本免费电影| 欧美日韩国产精品自在自线| 男人的j进女人的j一区| 久久婷婷成人综合色| 99免费精品在线| 亚洲国产欧美一区二区三区丁香婷| 91精品午夜视频| 国产精品一二三四区| 国产精品欧美经典| 欧美日韩免费在线视频| 国产一区二区三区国产| 亚洲品质自拍视频| 日韩一区二区麻豆国产| 成人精品小蝌蚪| 亚洲www啪成人一区二区麻豆| 欧美一区二区三区视频免费| 成人一区二区三区| 日韩成人免费电影| 中文成人av在线| 6080yy午夜一二三区久久| 国产91在线看| 舔着乳尖日韩一区| 中文字幕国产精品一区二区| 欧美色图免费看| 成人伦理片在线| 人禽交欧美网站| 亚洲乱码国产乱码精品精小说| 日韩欧美国产一二三区| 色欧美日韩亚洲| 国产成人综合视频| 亚洲一二三区在线观看| 国产欧美日本一区二区三区| 在线播放亚洲一区| 91无套直看片红桃| 国产美女精品人人做人人爽| 首页国产欧美久久| 亚洲欧美韩国综合色| 久久免费国产精品| 日韩午夜电影av| 欧美色图在线观看| 99视频有精品| 国产传媒日韩欧美成人| 久久精品国产**网站演员| 亚洲狠狠爱一区二区三区| 中文字幕一区二区三区视频| 国产亚洲成年网址在线观看| 精品欧美乱码久久久久久| 欧美精品日韩综合在线| 色吧成人激情小说| 不卡视频一二三四| 国产一区二区三区av电影| 日韩 欧美一区二区三区| 午夜视频一区二区三区| 欧美国产国产综合| 国产成人av资源| 日韩精品一级二级 | 精品一区二区三区影院在线午夜| 91麻豆精东视频| 久久国产视频网| 亚洲男人的天堂av| 337p粉嫩大胆噜噜噜噜噜91av | 看片的网站亚洲| 亚洲一区二区3| 一个色综合av| 一区二区视频免费在线观看| 亚洲视频在线观看三级| 亚洲男人的天堂一区二区| 亚洲日穴在线视频| 欧美日韩一区 二区 三区 久久精品| 麻豆精品新av中文字幕| 亚洲人成网站色在线观看| 精品国产乱码久久久久久牛牛| 色综合天天狠狠| 国产精品正在播放| 亚洲mv在线观看| 亚洲日本在线天堂| 国产精品久久久久影院亚瑟| 日韩一级片在线播放| 在线精品亚洲一区二区不卡| av电影在线观看不卡| 国产一区在线看| 国产在线精品一区二区夜色 | 精品国产一区二区三区不卡| 香蕉成人伊视频在线观看| 亚洲国产aⅴ成人精品无吗| 国产日韩成人精品| 91蜜桃网址入口| 国产黑丝在线一区二区三区| 国产一区二区三区日韩 | 欧美激情在线一区二区三区| 一区二区日韩av| 亚洲三级在线免费| 亚洲第一会所有码转帖| 美女精品一区二区| 国产精品一品二品| 91蝌蚪porny成人天涯| 欧美日韩另类国产亚洲欧美一级| 日韩美女在线视频| 国产精品黄色在线观看| 玉足女爽爽91| 蜜桃精品视频在线| 成人av免费在线播放| 欧美日韩成人一区| 日本一区二区三区国色天香| 亚洲成人综合网站| 国产精品综合在线视频| 欧美视频三区在线播放| 久久久久久久久久久久久夜| 夜夜嗨av一区二区三区网页| 久久电影网站中文字幕| 色哟哟一区二区在线观看| 精品免费日韩av| 亚洲精品日韩一| 日韩电影在线一区二区三区| 不卡的av电影| 欧美一区二区在线不卡| 亚洲婷婷综合色高清在线| 人人狠狠综合久久亚洲| 91麻豆精东视频| 久久综合九色综合97_久久久| 亚洲精品日韩综合观看成人91| 国内外精品视频| 欧美精品久久一区二区三区| 最新久久zyz资源站| 久久99精品国产.久久久久久| 色香蕉久久蜜桃| 国产精品乱码妇女bbbb| 精品一区二区影视| 欧美精品一级二级| 亚洲精品中文字幕在线观看| 国产福利一区二区三区视频 | 97国产一区二区| www欧美成人18+| 日韩电影网1区2区| 欧美性猛交xxxxxx富婆| 亚洲欧洲av另类| 国产激情一区二区三区四区| 欧美成人精品福利| 婷婷一区二区三区| 欧美影院精品一区| 综合中文字幕亚洲| 豆国产96在线|亚洲| 国产日韩精品一区二区三区| 久久精品国产色蜜蜜麻豆| 欧美一区二区三区四区高清 | 九色porny丨国产精品| 欧美老肥妇做.爰bbww| 亚洲高清一区二区三区| 91福利资源站| 国产精品美女视频| 亚洲另类中文字| 麻豆久久久久久久| 成人国产精品视频| 国产欧美精品一区aⅴ影院 | 欧美日韩国产一二三| 亚洲综合另类小说| 色系网站成人免费| 亚洲精品一二三区| 欧美主播一区二区三区美女| 亚洲精品自拍动漫在线| 欧美视频一区二区三区| 亚洲成人一区在线| 欧美乱妇20p| 日韩福利视频网| 精品国产一区二区三区久久影院| 国产在线看一区| 国产精品久久久久精k8| 不卡视频免费播放| 亚洲综合自拍偷拍| 91精品国产综合久久久久久久久久 | 中文字幕欧美激情一区| 亚洲欧美综合网| 午夜激情一区二区| 日韩欧美自拍偷拍| 国产在线看一区| 国产精品丝袜久久久久久app| 99久久精品99国产精品| 伊人夜夜躁av伊人久久| 欧美美女激情18p| 久久99热国产| 中文字幕一区二区三区视频| a4yy欧美一区二区三区| 91麻豆精品国产综合久久久久久| 91看片淫黄大片一级| 亚洲综合小说图片| 欧美一级一级性生活免费录像| 精品一区二区免费| 国产精品另类一区| 欧美美女一区二区|