Examples of DTEDFrameCache


Examples of com.bbn.openmap.dataAccess.dted.DTEDFrameCache

     * radian arc distance of the point from the center point of the
     * image, on the earth. This slope calculation does take the
     * earth's curvature into account, based on the spherical model.
     */
    protected double calculateLOSslope(LatLonPoint cord, float arc_dist) {
        DTEDFrameCache frameCache = layer.frameCache;

        if (frameCache == null) {
            return 0;
        }

        int xyheight = frameCache.getElevation(cord.getLatitude(),
                cord.getLongitude());
        double ret = 0;
        double P = Math.sin(arc_dist)
                * (xyheight + Planet.wgs84_earthEquatorialRadiusMeters);

View Full Code Here

Examples of com.bbn.openmap.dataAccess.dted.DTEDFrameCache

     */
    public void findAndUndo(Object obj) {
        if (obj instanceof DTEDFrameCache) {
            Debug.message("graphicloader",
                    "LOSGraphicLoader: removing DTEDFrameCache");
            DTEDFrameCache dfc = getDTEDFrameCache();
            if (dfc == obj) { // Check to see if they are the same
                              // object
                setDTEDFrameCache(null);
            }
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.