moon.java

来自「world wind java sdk 源码」· Java 代码 · 共 34 行

JAVA
34
字号
/*Copyright (C) 2001, 2006 United States Governmentas represented by the Administrator of theNational Aeronautics and Space Administration.All Rights Reserved.*/package gov.nasa.worldwind.globes;import gov.nasa.worldwind.WorldWind;import gov.nasa.worldwind.avlist.AVKey;/** * @author Patrick Murris * @version $Id: Moon.java 9411 2009-03-16 21:03:25Z tgaskins $ */public class Moon extends EllipsoidalGlobe{    // From http://en.wikipedia.org/wiki/Moon    public static final double EQUATORIAL_RADIUS = 1738140.0; // ellipsoid equatorial getRadius, in meters    public static final double POLAR_RADIUS = 1735970.0; // ellipsoid polar getRadius, in meters    public static final double ES = 0.00125; // eccentricity squared, semi-major axis    public Moon()    {        super(EQUATORIAL_RADIUS, POLAR_RADIUS, ES, (ElevationModel)        WorldWind.createComponentFromConfigurationFactory(AVKey.ELEVATION_MODEL_FACTORY,            new String[]                {                    AVKey.MOON_ELEVATION_MODEL_CONFIG_FILE,                    AVKey.MOON_ELEVATION_MODEL_CLASS_NAME                }));    }}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?