Package wolf.util

Examples of wolf.util.TextFileOutput.save()


          s = s.replaceAll("POLYGON", "MULTIPOLYGON (");
        }
        tf.data.set(i, s);
      }
      tf.data.add(")");
      tf.save(filepathBlocks);
    }
    {
      TextFileOutput tf = new TextFileOutput();
      for(CityBlock b:blocks){
        if(b.lots != null){
View Full Code Here


          s = s.replaceAll("POLYGON", "MULTIPOLYGON (");
        }
        tf.data.set(i, s);
      }
      tf.data.add(")");
      tf.save(filepathLots);
    }
  }
}
View Full Code Here

        tf.data.add(b.toSTL());
      }
      //end file
      tf.data.add("endsolid buildings\n");

      tf.save("data/buildings.stl");
    }
  }

}
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.