org.osm2world.core.world.modules
public static class WaterModule.Water extends NetworkAreaWorldObject implements RenderableToAllTargets, TerrainBoundaryWorldObject
area
Constructor and Description |
---|
WaterModule.Water(MapArea area) |
Modifier and Type | Method and Description |
---|---|
void |
defineEleConstraints(EleConstraintEnforcer enforcer)
lets this object add constraints for the relative elevations of its
EleConnector s. |
GroundState |
getGroundState()
returns whether this feature is on, above or below the ground.
|
void |
renderTo(Target<?> target) |
getAxisAlignedBoundingBoxXZ, getEleConnectors, getOutlinePolygon, getOutlinePolygonXZ, getPrimaryMapElement, getTriangulation, getTriangulationXZ, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
getAxisAlignedBoundingBoxXZ
getOutlinePolygon, getOutlinePolygonXZ
getEleConnectors, getPrimaryMapElement
public WaterModule.Water(MapArea area)
public GroundState getGroundState()
WorldObject
getGroundState
in interface WorldObject
public void defineEleConstraints(EleConstraintEnforcer enforcer)
WorldObject
EleConnector
s. Called after WorldObject.getEleConnectors()
.defineEleConstraints
in interface WorldObject
defineEleConstraints
in class AbstractAreaWorldObject
public void renderTo(Target<?> target)
renderTo
in interface RenderableToAllTargets