Uses of Class
net.kolls.railworld.Distance

Packages that use Distance
net.kolls.railworld Provides for basic status and operation of quantities needed for both play and editing. 
net.kolls.railworld.car Various types of cars which are supported by Rail World. 
net.kolls.railworld.segment Rail segments available. 
 

Uses of Distance in net.kolls.railworld
 

Fields in net.kolls.railworld declared as Distance
static Distance Car.CAR_WIDTH
          The width of a car.
static Distance Car.DIST_BETWEEN_CARS
          The distance between cars (shown as empty space).
protected static Distance RailSegment.MOUSE_NEAR
          How close does the mouse need to be to count as being "near" something?
static Distance RailSegment.RAIL_BED_WIDTH
          The width of the rail bed (gravel)
static Distance RailSegment.RAIL_WIDTH
          The width of the rail line itself.
 

Methods in net.kolls.railworld that return Distance
 Distance Train.length()
          The length is the length of all cars, with the distance between cars also added in.
abstract  Distance RailSegment.length()
          all segments have a length can be 0 for signals, etc.
 Distance Car.length()
          Returns the length of this Car.
 

Methods in net.kolls.railworld with parameters of type Distance
static java.awt.geom.Line2D RailCanvas.angle(java.awt.geom.Line2D bl, java.awt.geom.Point2D myPoint, double angle, Distance len)
          Find a position relative to an existing line.
 DLoc CLoc.segFwd(Distance len)
          Moves forward in the direction of travel a given distance.
 DLoc CLoc.segFwd(Distance len, Car myC, Train myT)
          Moves forward in the direction of travel a given distance, and generate rendering information for a given Train and/or Car.
 

Uses of Distance in net.kolls.railworld.car
 

Methods in net.kolls.railworld.car that return Distance
 Distance Tankcar.length()
           
 Distance Stockcar.length()
           
 Distance Passenger.length()
           
 Distance Openhopper.length()
           
 Distance Intermodal.length()
           
 Distance Flatcar.length()
           
 Distance Engine.length()
           
 Distance Coveredhopper.length()
           
 Distance CachedCar.length()
           
 Distance Caboose.length()
           
 Distance Boxcar.length()
           
 Distance Autorack.length()
           
 

Uses of Distance in net.kolls.railworld.segment
 

Fields in net.kolls.railworld.segment declared as Distance
protected  Distance Curve.len
          Length of this curve, as calculated by sub lines
 Distance Label.size
          How tall is the label text
 

Methods in net.kolls.railworld.segment that return Distance
 Distance TrackSegment.length()
           
 Distance Switch.length()
           
 Distance Signal.length()
           
 Distance Label.length()
           
 Distance FourWay.length()
           
 Distance Curve.length()
           
 

Constructors in net.kolls.railworld.segment with parameters of type Distance
Label(java.lang.String value, Distance size, java.awt.Color color, java.awt.geom.Point2D pos, double angle)
          Create a label