Examples of GfrObjectNamPnt


Examples of org.geoforge.io.saver.GfrObjectNamPnt

      String[] strsNamesExisting = GfrWrpBasTopSynEclPlcs.getInstance().getSortedNamesTlo();

      for (int i = 0; i < lst.size(); i++)
      {
         GfrObjectNamPnt objPntIdCur = lst.get(i);

         if (super._blnCanceled)
         {
            super._blnDoneJob = true;
            return;
         }

         // ---

         if (blnShowProgressItems)
         {
            int intPercentItems = intCountItems * 100 / intTotalItems / 3;
            super._lblItems.setText("Processing placemarks, " + intPercentItems + "% done");
            super._pbrItems.setValue(intPercentItems);
            intCountItems++;
         }
         else
         {
            super._lblItems.setText("Processing placemark, please wait ...");
         }

         // ---




         strsUrl[i] = "";
         strsDescription[i] = "";


         String strNameCur = objPntIdCur.getNameUnique();

         String strNameCurCandidate = strNameCur;



         String[] strsNamesExistingAndCurs = new String[strsNamesExisting.length + i];
         for (int j = 0; j < strsNamesExisting.length; j++)
         {
            strsNamesExistingAndCurs[j] = strsNamesExisting[j];
         }

         for (int j = 0; j < i; j++)
         {
            strsNamesExistingAndCurs[strsNamesExisting.length + j] = strsLabel[j];
         }

         if (GfrUtlString.s_contains(strsNamesExistingAndCurs, strNameCur))
            strNameCurCandidate = GfrUtlString.s_createUniqueNameByNumber(strsNamesExistingAndCurs, strNameCur);

         strsLabel[i] = strNameCurCandidate;

         p2ds[i] = new Point2D.Double(objPntIdCur.getPoint().x, objPntIdCur.getPoint().y);


         // end


View Full Code Here

Examples of org.geoforge.io.saver.GfrObjectNamPnt

         try
         {
            Point2D.Double dbl = new Point2D.Double(dblLongitude, dblLatitude);

            GfrObjectNamPnt objCur = new GfrObjectNamPnt(strId, dbl);
            this._altPntId_.add(objCur);
         }
         catch (Exception exc)
         {
            if (_INT_CHOICE_WARNING == 2)
View Full Code Here

Examples of org.geoforge.io.saver.GfrObjectNamPnt

      String[] strsNamesExisting = GfrWrpBasTopSynEclPnts.getInstance().getSortedNamesTlo();

      for (int i = 0; i < lst.size(); i++)
      {
         GfrObjectNamPnt objPntIdCur = lst.get(i);

         if (super._blnCanceled)
         {
            super._blnDoneJob = true;
            return;
         }

         // ---

         if (blnShowProgressItems)
         {
            int intPercentItems = intCountItems * 100 / intTotalItems / 3;
            super._lblItems.setText("Processing points, " + intPercentItems + "% done");
            super._pbrItems.setValue(intPercentItems);
            intCountItems++;
         }
         else
         {
            super._lblItems.setText("Processing point, please wait ...");
         }

         // ---




         strsUrl[i] = "";
         strsDescription[i] = "";


         String strNameCur = objPntIdCur.getNameUnique();

         String strNameCurCandidate = strNameCur;



         String[] strsNamesExistingAndCurs = new String[strsNamesExisting.length + i];
         for (int j = 0; j < strsNamesExisting.length; j++)
         {
            strsNamesExistingAndCurs[j] = strsNamesExisting[j];
         }

         for (int j = 0; j < i; j++)
         {
            strsNamesExistingAndCurs[strsNamesExisting.length + j] = strsLabel[j];
         }

         if (GfrUtlString.s_contains(strsNamesExistingAndCurs, strNameCur))
            strNameCurCandidate = GfrUtlString.s_createUniqueNameByNumber(strsNamesExistingAndCurs, strNameCur);

         strsLabel[i] = strNameCurCandidate;

         p2ds[i] = new Point2D.Double(objPntIdCur.getPoint().x, objPntIdCur.getPoint().y);


         // end


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.