|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectnl.tudelft.simulation.event.EventProducer
nl.tudelft.simulation.traffic.controlpoint.real.AbstractVisibleControlPoint
This abstract class describes the basics of a visibleControlPoint.
It takes care of the construction of showControlPoints.
| Field Summary | |
protected double |
progression
the progression |
protected TrackInterface |
track
the track |
| Fields inherited from class nl.tudelft.simulation.event.EventProducer |
listeners |
| Fields inherited from interface nl.tudelft.simulation.traffic.controlpoint.ControlPointInterface |
BACK, FRONT |
| Fields inherited from interface nl.tudelft.simulation.event.EventProducerInterface |
FIRST_POSITION, LAST_POSITION |
| Constructor Summary | |
AbstractVisibleControlPoint(TrackInterface track,
double progression,
double visibleDistance,
nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator)
This constructor creates a new instance of the AbstractVisibleControlPoint. |
|
| Method Summary | |
javax.media.j3d.Bounds |
getBounds()
|
nl.tudelft.simulation.language.d3.DirectedPoint |
getLocation()
|
double |
getProgression()
The getProgression() method returns progression where the controlPoint is located |
TrackInterface |
getTrack()
This method returns the track on which the controlPoint is located |
double |
getVisibleDistance()
The visibleDistance parameter defines the distance from which the ControlPoint becomes visible. |
| Methods inherited from class nl.tudelft.simulation.event.EventProducer |
addListener, addListener, addListener, addListener, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, fireEvent, getEventTypes, removeAllListeners, removeAllListeners, removeListener |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface nl.tudelft.simulation.traffic.controlpoint.ControlPointInterface |
pass |
| Field Detail |
protected TrackInterface track
protected double progression
| Constructor Detail |
public AbstractVisibleControlPoint(TrackInterface track,
double progression,
double visibleDistance,
nl.tudelft.simulation.dsol.simulators.SimulatorInterface simulator)
track - progression - visibleDistance - simulator - | Method Detail |
public double getProgression()
ControlPointInterface
getProgression in interface ControlPointInterfaceControlPointInterface.getProgression()public TrackInterface getTrack()
ControlPointInterface
getTrack in interface ControlPointInterfaceControlPointInterface.getTrack()public double getVisibleDistance()
VisibleControlPointInterface
getVisibleDistance in interface VisibleControlPointInterfaceVisibleControlPointInterface.getVisibleDistance()
public javax.media.j3d.Bounds getBounds()
throws java.rmi.RemoteException
getBounds in interface nl.tudelft.simulation.dsol.animation.LocatableInterfacejava.rmi.RemoteExceptionLocatableInterface.getBounds()
public nl.tudelft.simulation.language.d3.DirectedPoint getLocation()
throws java.rmi.RemoteException
getLocation in interface nl.tudelft.simulation.dsol.animation.LocatableInterfacejava.rmi.RemoteExceptionLocatableInterface.getLocation()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||