|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface defines the interface of TrackLinks. A link is used for
connections between tracks.
Tracks need to be explicitly added to links. The possibility to travel
from track A to track B has to be explicitly defined using the
addSuccessorToTrack() method. A connection between tracks is only
possible between tracks added to the link.
A simpleTrackLink is a location.
TrackInterface| Method Summary | |
void |
addPredecessor(TrackInterface predecessor)
Adds a predecessor to this link. |
void |
addSuccessor(TrackInterface successor)
Adds a successor to this link. |
TrackInterface |
getActiveSuccessor(TrackInterface predecessor)
This method gets the active successor of the given track. |
javax.vecmath.Point3d |
getPosition()
|
TrackList |
getPredecessors()
Returns all predecessors for this link. |
TrackList |
getSuccessors()
Returns all successors for this link. |
void |
setActiveSuccessor(TrackInterface predecessor,
TrackInterface successor)
This method sets the active successor of the given track. |
| Methods inherited from interface nl.tudelft.simulation.dsol.animation.LocatableInterface |
getBounds, getLocation |
| Method Detail |
public void addSuccessor(TrackInterface successor)
successor - public void addPredecessor(TrackInterface predecessor)
predecessor -
public void setActiveSuccessor(TrackInterface predecessor,
TrackInterface successor)
predecessor - successor - public TrackInterface getActiveSuccessor(TrackInterface predecessor)
predecessor -
public TrackList getSuccessors()
public TrackList getPredecessors()
public javax.vecmath.Point3d getPosition()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||