mars.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.*;import gov.nasa.worldwind.avlist.*;/** * @author Patrick Murris * @version $Id: Mars.java 9411 2009-03-16 21:03:25Z tgaskins $ */public class Mars extends EllipsoidalGlobe{ // From http://en.wikipedia.org/wiki/Mars public static final double EQUATORIAL_RADIUS = 3396200.0; // ellipsoid equatorial getRadius, in meters public static final double POLAR_RADIUS = 3376200.0; // ellipsoid polar getRadius, in meters public static final double ES = 0.00589; // eccentricity squared, semi-major axis public Mars() { super(EQUATORIAL_RADIUS, POLAR_RADIUS, ES, (ElevationModel) WorldWind.createComponentFromConfigurationFactory(AVKey.ELEVATION_MODEL_FACTORY, new String[] { AVKey.MARS_ELEVATION_MODEL_CONFIG_FILE, AVKey.MARS_ELEVATION_MODEL_CLASS_NAME })); }}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?