|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
ObjectTerrainPatch
GenericTerrainPatch
public class GenericTerrainPatch
the "normal" TerrainPatch
implementation.
Has 2D outer polygons and holes, is triangulated,
and elevation data is added to the resulting triangles.
Field Summary |
---|
Fields inherited from class TerrainPatch |
---|
triangulation |
Constructor Summary | |
---|---|
GenericTerrainPatch(SimplePolygonXZ outerPoly,
Collection<SimplePolygonXZ> holes,
TemporaryElevationStorage eleStorage)
|
Method Summary | |
---|---|
void |
build()
Required preparation for rendering. |
Collection<SimplePolygonXZ> |
getHoles()
|
SimplePolygonXZ |
getOuterPolygon()
|
Methods inherited from class TerrainPatch |
---|
renderTo, renderTo |
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GenericTerrainPatch(SimplePolygonXZ outerPoly, Collection<SimplePolygonXZ> holes, TemporaryElevationStorage eleStorage)
Method Detail |
---|
public SimplePolygonXZ getOuterPolygon()
public Collection<SimplePolygonXZ> getHoles()
public void build()
TerrainPatch
build
in class TerrainPatch
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |