コード例 #1
0
        protected void preComputeTextureTransform(DrawContext dc, SectorGeometry sg, Transform t)
        {
            Sector st = sg.getSector();

            this.sgWidth  = st.getDeltaLonRadians();
            this.sgHeight = st.getDeltaLatRadians();
            this.sgMinWE  = st.getMinLongitude().radians;
            this.sgMinSN  = st.getMinLatitude().radians;
        }