LineImpl.java

Go to the documentation of this file.
00001 package de.psi.telco.sumoplayer.util;
00002 
00003 public class LineImpl implements Line {
00004     private Point a;
00005     private Point b;
00006     
00007     public LineImpl(double ax, double ay, double bx, double by){
00008         this.a = new PointImpl(ax,ay);
00009         this.b = new PointImpl(bx,by);
00010     }
00011     public LineImpl(Point a, Point b){
00012         this.a = a;
00013         this.b = b;
00014     }
00015     
00016     /* (non-Javadoc)
00017      * @see de.psi.telco.car4car.dto.geo.Line#getA()
00018      */
00019     public Point getA(){
00020         return a;
00021     }
00022     /* (non-Javadoc)
00023      * @see de.psi.telco.car4car.dto.geo.Line#getB()
00024      */
00025     public Point getB(){
00026         return b;
00027     }
00028 }

Generated on Wed May 5 00:06:30 2010 for Sumo - Simulation of Urban MObility by  doxygen 1.5.6