Examples of GfrObjectNamGeometry


Examples of org.geoforge.io.saver.GfrObjectNamGeometry

     
      String[] strsNamesExisting = GfrWrpBasTopSynEclAres.getInstance().getSortedNamesTlo();
     
      for (int i = 0; i < lst.size(); i++)
      {
         GfrObjectNamGeometry objPntIdCur = lst.get(i);

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

         // ---

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

         // ---


      
         String[] strsNamesExistingAndNew = new String[strsNamesExisting.length + i];

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

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


         String strNameCur = objPntIdCur.getNameUnique();

         String strNameCurCandidate = strNameCur;

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

                 
         strsLabel[i] = strNameCurCandidate;
        
         ArrayList<Point2D.Double> altP2d = objPntIdCur.getGeometry();
        
         Point2D.Double p2ds[] = new Point2D.Double[altP2d.size()];
        
         for(int j = 0; j < altP2d.size(); j++)
         {
View Full Code Here

Examples of org.geoforge.io.saver.GfrObjectNamGeometry

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

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

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

         // ---

         if (blnShowProgressItems)
         {
            int intPercentItems = intCountItems * 100 / intTotalItems / 3;
            super._lblItems.setText("Processing pointsets, " + intPercentItems + "% done");
            super._pbrItems.setValue(intPercentItems);
            intCountItems++;
         }
         else
         {
            super._lblItems.setText("Processing pointset, 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;

         ArrayList<Point2D.Double> altP2d = objPntIdCur.getGeometry();

         Point2D.Double p2ds[] = new Point2D.Double[altP2d.size()];

         for (int j = 0; j < altP2d.size(); j++)
         {
View Full Code Here

Examples of org.geoforge.io.saver.GfrObjectNamGeometry

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


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

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

         // ---

         if (blnShowProgressItems)
         {
            int intPercentItems = intCountItems * 100 / intTotalItems / 3;
            super._lblItems.setText("Processing paths, " + intPercentItems + "% done");
            super._pbrItems.setValue(intPercentItems);
            intCountItems++;
         }
         else
         {
            super._lblItems.setText("Processing paths, 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;

         ArrayList<Point2D.Double> altP2d = objPntIdCur.getGeometry();

         Point2D.Double p2ds[] = new Point2D.Double[altP2d.size()];

         for (int j = 0; j < altP2d.size(); j++)
         {
View Full Code Here

Examples of org.geoforge.io.saver.GfrObjectNamGeometry

            continue;
         }

         try
         {
            GfrObjectNamGeometry objCur = new GfrObjectNamGeometry(strId, altP2ds);
            this._altPntId_.add(objCur);
         }
         catch (Exception exc)
         {
            if (_INT_CHOICE_WARNING == 2)
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.