org.osm2world.core.terrain.data
Class EmptyCellTerrainPatch

Object
  extended by TerrainPatch
      extended by EmptyCellTerrainPatch
All Implemented Interfaces:
Renderable, RenderableToAllTargets

public class EmptyCellTerrainPatch
extends TerrainPatch

terrain patch for a special case, the empty terrain cell. It can be handled more efficiently. Except the performance advantages, it shouldn't affect program behavior.


Field Summary
 
Fields inherited from class TerrainPatch
triangulation
 
Constructor Summary
EmptyCellTerrainPatch(TerrainElevationCell cell)
           
 
Method Summary
 void build()
          Required preparation for rendering.
 
Methods inherited from class TerrainPatch
getTriangulation, renderTo
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EmptyCellTerrainPatch

public EmptyCellTerrainPatch(TerrainElevationCell cell)
Method Detail

build

public void build()
Description copied from class: TerrainPatch
Required preparation for rendering. Usually deals with triangulating the patch and restoring the polygons' third dimension afterwards. Call this method exactly once for each patch!

Specified by:
build in class TerrainPatch