コード例 #1
0
 public StateKey(EllipsoidalGlobe ellipsoidalGlobe)
 {
     this.globe                = ellipsoidalGlobe;
     this._tessellator         = ellipsoidalGlobe._tessellator;
     this.verticalExaggeration = 1;
     this.elevationModel       = this.globe.getElevationModel();
 }
コード例 #2
0
            public StateKey(DrawContext dc, EllipsoidalGlobe ellipsoidalGlobe)
            {
                if (dc == null)
                {
                    string msg = Logging.getMessage("nullValue.DrawContextIsNull");
                    Logging.logger().severe(msg);
                    throw new ArgumentException(msg);
                }

                this.globe                = dc.getGlobe();
                this._tessellator         = ellipsoidalGlobe._tessellator;
                this.verticalExaggeration = dc.getVerticalExaggeration();
                this.elevationModel       = this.globe.getElevationModel();
            }
コード例 #3
0
ファイル: Earth.cs プロジェクト: zhj149/WorldWindJava.NET
        public static readonly double ELEVATION_MAX = 8500d;               // Height of Mt. Everest.

        public Earth() : base(WGS84_EQUATORIAL_RADIUS, WGS84_POLAR_RADIUS, WGS84_ES,
                              EllipsoidalGlobe.makeElevationModel(AVKey.EARTH_ELEVATION_MODEL_CONFIG_FILE,
                                                                  "config/Earth/EarthElevations2.xml"))
        {
        }