|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object AbstractNetworkWaySegmentWorldObject WaterModule.Waterway
public static class WaterModule.Waterway
Field Summary |
---|
Fields inherited from class AbstractNetworkWaySegmentWorldObject |
---|
line |
Constructor Summary | |
---|---|
WaterModule.Waterway(MapWaySegment line)
|
Method Summary | |
---|---|
double |
getClearingAbove(VectorXZ pos)
returns the amount of free space above the base elevation required by this feature. |
double |
getClearingBelow(VectorXZ pos)
returns the amount of free space below the base elevation required by this feature. |
GroundState |
getGroundState()
returns whether this feature is on, above or below the ground. |
PolygonXYZ |
getOutlinePolygon()
returns a counterclockwise polygon defining the object's ground footprint. |
SimplePolygonXZ |
getOutlinePolygonXZ()
returns a counterclockwise polygon defining the object's ground footprint, projected onto the XZ plane. |
float |
getWidth()
returns the line's width |
void |
renderTo(Target<?> target)
|
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 WorldObject |
---|
getPrimaryMapElement |
Constructor Detail |
---|
public WaterModule.Waterway(MapWaySegment line)
Method Detail |
---|
public double getClearingAbove(VectorXZ pos)
WorldObject
getClearingAbove
in interface WorldObject
public double getClearingBelow(VectorXZ pos)
WorldObject
getClearingBelow
in interface WorldObject
public GroundState getGroundState()
WorldObject
getGroundState
in interface WorldObject
public float getWidth()
NetworkWaySegmentWorldObject
getWidth
in interface NetworkWaySegmentWorldObject
public PolygonXYZ getOutlinePolygon()
WorldObjectWithOutline
getOutlinePolygon
in interface WorldObjectWithOutline
getOutlinePolygon
in class AbstractNetworkWaySegmentWorldObject
public SimplePolygonXZ getOutlinePolygonXZ()
WorldObjectWithOutline
getOutlinePolygonXZ
in interface WorldObjectWithOutline
getOutlinePolygonXZ
in class AbstractNetworkWaySegmentWorldObject
public void renderTo(Target<?> target)
renderTo
in interface RenderableToAllTargets
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |