nl.tudelft.simulation.traffic.vehicle
Class VehicleType.Segment

java.lang.Object
  extended bynl.tudelft.simulation.traffic.vehicle.VehicleType.Segment
Enclosing class:
VehicleType

public class VehicleType.Segment
extends java.lang.Object

The segment information for a segmented vehicle.
(c) copyright 2003-2004 Delft University of Technology , the Netherlands.
See for project information www.simulation.tudelft.nl
License of use: General Public License (GPL) , no warranty

Version:
Jun 20, 2004
Author:
Alexander Verbraeck

Constructor Summary
VehicleType.Segment(double front, double axle1, double axle2, double length)
           
 
Method Summary
 double getAxle1()
           
 double getAxle2()
           
 double getFront()
           
 double getLength()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VehicleType.Segment

public VehicleType.Segment(double front,
                           double axle1,
                           double axle2,
                           double length)
Parameters:
front -
axle1 -
axle2 -
length -
Method Detail

getAxle1

public double getAxle1()
Returns:
Returns the axle1.

getAxle2

public double getAxle2()
Returns:
Returns the axle2.

getFront

public double getFront()
Returns:
Returns the front.

getLength

public double getLength()
Returns:
Returns the length.


Copyright © 2003-2004 Delft University of Technology, the Netherlands. All Rights Reserved.