public class SpeedRestriction extends TrackCharacteristic
relativeStartMilePostBLOCK_ENTITY, LINK_ENTITY, LOOP_ENTITY| Constructor and Description |
|---|
SpeedRestriction() |
SpeedRestriction(double velo,
double b,
double c) |
SpeedRestriction(double speedLimit,
double relativeStartMilePost,
double relativeEndMilePost,
Block block) |
| Modifier and Type | Method and Description |
|---|---|
double |
getSpeedLimit() |
boolean |
hasError() |
void |
setSpeedLimit(double speedLimit) |
getRelativeEndMilePost, getRelativeStartMilePost, getTrackSegment, setRelativeEndMilePost, setRelativeStartMilePost, setTrackSegmentgetEntityType, isBlock, isLink, isLoop, setEntityTypepublic SpeedRestriction(double velo,
double b,
double c)
velo - stores velocitypublic SpeedRestriction()
public SpeedRestriction(double speedLimit,
double relativeStartMilePost,
double relativeEndMilePost,
Block block)