Examples of LLPoint


Examples of com.bbn.openmap.CSpecialist.LLPoint

        // do the updates, but don't rerender just yet

        switch (update.discriminator().value()) {
        // set fixed point
        case com.bbn.openmap.CSpecialist.TextPackage.settableFields._TF_ll1:
            LLPoint ll = update.ll1();
            setLat(ll.lat);
            setLon(ll.lon);
            break;

        case com.bbn.openmap.CSpecialist.TextPackage.settableFields._TF_p1:
View Full Code Here

Examples of com.bbn.openmap.CSpecialist.LLPoint

     * @return UGraphic[] graphic list or null if error
     * 
     */
    protected UGraphic[] getSpecGraphics(Projection p) {
        CProjection cproj;
        LLPoint ll1, ll2;
        StringHolder dynamicArgsHolder;
        Server spec = getSpecialist();
        if (Debug.debugging("cspec")) {
            System.out.println(getName()
                    + "|BufferedCSpecLayer.getSpecGraphics()");
        }

        // If we have graphics, return them
        if (graphics != null) {
            System.out.println("Returning cached graphics");
            return graphics;
        }

        cproj = new CProjection((short) (p.getProjectionType()), new LLPoint(p.getCenter()
                .getLatitude(), p.getCenter().getLongitude()), (short) p.getHeight(), (short) p.getWidth(), (int) p.getScale());

        // lat-lon "box", (depends on the projection)
        LatLonPoint ul = p.getUpperLeft();
        LatLonPoint lr = p.getLowerRight();

        //      ll1 = new LLPoint(ul.getLatitude(), ul.getLongitude());
        //      ll2 = new LLPoint(lr.getLatitude(), lr.getLongitude());
        // Adjust lat/lon for total global area
        ll1 = new LLPoint(90.0f, -180.0f);
        ll2 = new LLPoint(-90.0f, 180.0f);
        // check for cancellation
        if (isCancelled()) {
            dirtybits |= PREMATURE_FINISH;
            if (Debug.debugging("cspec"))
                System.out.println(getName()
View Full Code Here

Examples of com.bbn.openmap.CSpecialist.LLPoint

        // do the updates, but don't rerender just yet
        switch (update.discriminator().value()) {

        // set fixed point
        case com.bbn.openmap.CSpecialist.CirclePackage.settableFields._CF_ll1:
            LLPoint ll = update.ll1();
            setLatLon(ll.lat, ll.lon);
            break;

        case com.bbn.openmap.CSpecialist.CirclePackage.settableFields._CF_p1:
            XYPoint pt1 = update.p1();
View Full Code Here

Examples of com.bbn.openmap.CSpecialist.LLPoint

        // do the updates, but don't rerender just yet

        switch (update.discriminator().value()) {
        // set fixed point
        case com.bbn.openmap.CSpecialist.RectanglePackage.settableFields._RF_ll1:
            LLPoint ll1 = update.ll1();
            lat1 = ll1.lat;
            lon1 = ll1.lon;
            setNeedToRegenerate(true);
            break;

        case com.bbn.openmap.CSpecialist.RectanglePackage.settableFields._RF_p1:
            XYPoint pt1 = update.p1();
            x1 = pt1.x;
            y1 = pt1.y;
            if (renderType != RENDERTYPE_LATLON)
                setNeedToRegenerate(true);
            break;

        case com.bbn.openmap.CSpecialist.RectanglePackage.settableFields._RF_ll2:
            LLPoint ll2 = update.ll2();
            lat2 = ll2.lat;
            lon2 = ll2.lon;
            if (renderType == RENDERTYPE_LATLON)
                setNeedToRegenerate(true);
            break;
View Full Code Here

Examples of com.bbn.openmap.CSpecialist.LLPoint

        switch (update.discriminator().value()) {

        // set fixed point
        case com.bbn.openmap.CSpecialist.PolyPackage.settableFields._PF_ll1:
            LLPoint ll = update.ll1();
            lat = ll.lat;
            lon = ll.lon;
            setNeedToRegenerate(true);
            break;
View Full Code Here

Examples of com.bbn.openmap.CSpecialist.LLPoint

        // do the updates, but don't rerender just yet

        switch (update.discriminator().value()) {
        // set fixed point
        case com.bbn.openmap.CSpecialist.LinePackage.settableFields._LF_ll1:
            LLPoint ll1 = update.ll1();
            float[] lls = getLL();
            lls[0] = ll1.lat;
            lls[1] = ll1.lon;
            break;

        case com.bbn.openmap.CSpecialist.LinePackage.settableFields._LF_p1:
            XYPoint pt1 = update.p1();
            int[] pts = getPts();
            pts[0] = pt1.x;
            pts[1] = pt1.y;
            break;

        case com.bbn.openmap.CSpecialist.LinePackage.settableFields._LF_ll2:
            LLPoint ll2 = update.ll2();
            lls = getLL();
            lls[2] = ll2.lat;
            lls[3] = ll2.lon;
            break;
View Full Code Here

Examples of com.bbn.openmap.layer.rpf.corba.CRpfFrameProvider.LLPoint

        Server serv = getServer();

        if (serv == null)
            return new Vector();

        LLPoint llpoint = new LLPoint(p.getCenter().getLatitude(), p.getCenter()
                .getLongitude());

        CRFPCADRGProjection proj = new CRFPCADRGProjection(llpoint, (short) p.getHeight(), (short) p.getWidth(), p.getScale(), (short) p.getZone());

        Debug.message("crfp", "CRFPClient: getting coverage from server.");
View Full Code Here

Examples of com.bbn.openmap.layer.rpf.corba.CRpfFrameProvider.LLPoint

        Server serv = getServer();

        if (serv == null)
            return new Vector();

        LLPoint llpoint = new LLPoint(p.getCenter().getLatitude(), p.getCenter()
                .getLongitude());

        CRFPCADRGProjection proj = new CRFPCADRGProjection(llpoint, (short) p.getHeight(), (short) p.getWidth(), p.getScale(), (short) p.getZone());

        Debug.message("crfp",
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.