|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object TerrainPatch 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(PolygonWithHolesXZ polygon,
Collection<VectorXZ> points,
TemporaryElevationStorage eleStorage)
|
Method Summary | |
---|---|
void |
build()
Required preparation for rendering. |
Collection<VectorXZ> |
getPoints()
|
PolygonWithHolesXZ |
getPolygon()
|
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 |
---|
public GenericTerrainPatch(PolygonWithHolesXZ polygon, Collection<VectorXZ> points, TemporaryElevationStorage eleStorage)
Method Detail |
---|
public PolygonWithHolesXZ getPolygon()
public Collection<VectorXZ> getPoints()
public void build()
TerrainPatch
build
in class TerrainPatch
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |