|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Object TunnelModule.Tunnel
public static class TunnelModule.Tunnel
Constructor Summary | |
---|---|
TunnelModule.Tunnel(MapWaySegment segment,
AbstractNetworkWaySegmentWorldObject primaryRepresentation)
|
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. |
VectorXZ |
getEndPosition()
returns the end position. |
GroundState |
getGroundState()
returns whether this feature is on, above or below the ground. |
MapElement |
getPrimaryMapElement()
returns the "primary" MapElement for this WorldObject;
i.e. |
VectorXZ |
getStartPosition()
returns the start position. |
void |
renderTo(Target<?> target)
|
Methods inherited from class Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TunnelModule.Tunnel(MapWaySegment segment, AbstractNetworkWaySegmentWorldObject primaryRepresentation)
Method Detail |
---|
public MapElement getPrimaryMapElement()
WorldObject
MapElement
for this WorldObject;
i.e. the one it is most strongly associated with.
Can be null if there is no (clear) primary element for this feature.
getPrimaryMapElement
in interface WorldObject
public VectorXZ getEndPosition()
WaySegmentWorldObject
WaySegmentWorldObject.getStartPosition()
for details.
getEndPosition
in interface WaySegmentWorldObject
public VectorXZ getStartPosition()
WaySegmentWorldObject
MapWaySegment
's start position;
as node features such as crossings require space, too.
getStartPosition
in interface WaySegmentWorldObject
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 void renderTo(Target<?> target)
renderTo
in interface RenderableToAllTargets
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |