public StateKey(EllipsoidalGlobe ellipsoidalGlobe)
 {
     this.globe                = ellipsoidalGlobe;
     this._tessellator         = ellipsoidalGlobe._tessellator;
     this.verticalExaggeration = 1;
     this.elevationModel       = this.globe.getElevationModel();
 }
            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();
            }
Exemple #3
0
        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"))
        {
        }