Package org.earth3d.jearth.model

Examples of org.earth3d.jearth.model.ConnectionURL


   * @return
   * @throws IOException
   */
  protected Geometry createGeometryFile(String filename) throws IOException {
    GeometryMapTree gmt = new GeometryMapTree();
    gmt.getTextureConnections().addConnection(new ConnectionURL("textures/0.mxml"));
    gmt.getHeightfieldConnections().addConnection(new ConnectionURL("heightfield/0.mxml"));
    gmt.writeXML(filename, getMapName());
   
    return gmt;
  }
View Full Code Here


//      newMapTile.setSubmaptile(newSubmaptileList);
     
      newMapTile.setCoordinates(getSubRegion(getCoordinates(), MapTileXML.getSubmaptileConstant(childnumber)));
      newMapTile.setDepth(getDepth()+1);
      getSubmaptile()[childnumber] = new ConnectionList();
      getSubmaptile()[childnumber].addConnection(new ConnectionURL(relativeFilename(getFilename(), newMapTile.getFilename())));
     
      // persist the new map tile
//      newMapTile.write(getDirectory());
     
      result = newMapTile;
View Full Code Here

TOP

Related Classes of org.earth3d.jearth.model.ConnectionURL

Copyright © 2018 www.massapicom. 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.