public BendTrajectory(Lane lane)
	{
		fLane = lane;
		fStartX = lane.getStart().getPosition().getX();
		fEndX = lane.getEnd().getPosition().getX();
		fStartY = lane.getStart().getPosition().getY();
		fEndY = lane.getEnd().getPosition().getY();

		double x = fStartX;
		double y = fEndY;
		if (fStartX > fEndX && fLane.getDirection(fLane.getStart()).equals("E") || (fStartX < fEndX && fLane.getDirection(fLane.getStart()).equals("W")))
		{
			isBackWard = true;
			x = fEndX;
			y = fStartY;
		}
		fCurve = new QuadCurve2D.Double(fStartX, fStartY, x, y, fEndX, fEndY);

	}