org.osm2world.core.world.creation
Class NetworkCalculator

Object
  extended by NetworkCalculator

public class NetworkCalculator
extends Object

class that will calculate the information for those MapElements that implement an interface from org.o3dw.representation.network and set it. Calling this is necessary for those representations to work properly!


Method Summary
static void calculateNetworkInformationInGrid(MapData grid)
          calculates cut and offset information for all NetworkNode/Line/AreaRepresentations of elements in a grid.
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

calculateNetworkInformationInGrid

public static void calculateNetworkInformationInGrid(MapData grid)
calculates cut and offset information for all NetworkNode/Line/AreaRepresentations of elements in a grid.