📄 moon.java
字号:
/*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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -