org.osm2world.core.world.modules
Class RoadModule.RoadJunction

Object
  extended by JunctionNodeWorldObject
      extended by RoadModule.RoadJunction
All Implemented Interfaces:
IntersectionTestObject, Renderable, RenderableToAllTargets, NodeWorldObject, TerrainBoundaryWorldObject, WorldObject, WorldObjectWithOutline
Enclosing class:
RoadModule

public static class RoadModule.RoadJunction
extends JunctionNodeWorldObject
implements NodeWorldObject, RenderableToAllTargets, TerrainBoundaryWorldObject

representation for junctions between roads.


Field Summary
 
Fields inherited from class JunctionNodeWorldObject
cutCenters, cutVectors, informationProvided, node, widths
 
Constructor Summary
RoadModule.RoadJunction(MapNode node)
           
 
Method Summary
 GroundState getGroundState()
          returns whether this feature is on, above or below the ground.
 void renderTo(Target<?> target)
           
 
Methods inherited from class JunctionNodeWorldObject
getAxisAlignedBoundingBoxXZ, getClearingAbove, getClearingBelow, getCutNode, getJunctionArea, getJunctionAreaXZ, getOutline, getOutlinePolygon, getOutlinePolygonXZ, getPrimaryMapElement, getTriangulation, setInformation, toString
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface TerrainBoundaryWorldObject
getAxisAlignedBoundingBoxXZ
 
Methods inherited from interface WorldObjectWithOutline
getOutlinePolygon, getOutlinePolygonXZ
 
Methods inherited from interface WorldObject
getClearingAbove, getClearingBelow, getPrimaryMapElement
 

Constructor Detail

RoadModule.RoadJunction

public RoadModule.RoadJunction(MapNode node)
Method Detail

renderTo

public void renderTo(Target<?> target)
Specified by:
renderTo in interface RenderableToAllTargets

getGroundState

public GroundState getGroundState()
Description copied from interface: WorldObject
returns whether this feature is on, above or below the ground. This is relevant for elevation calculations, because the elevation of features o.t.g. is directly determined by terrain elevation data. Elevation of features above/below t.g. depends on elevation of features o.t.g. as well as other features above/below t.g.

Specified by:
getGroundState in interface WorldObject