コード例 #1
0
 /// <summary>
 /// 値コピーを作成する
 /// </summary>
 /// <param name="running">CRunning</param>
 public CRunning(CRunning running)
 {
     acceleration = running.acceleration;
     velocity     = new Current_Previous(running.velocity);
     gap          = running.gap;
     position     = new Current_Previous(running.position);
     around       = new CAround(running.around);
 }
コード例 #2
0
 /// <summary>
 /// 実態を持たせる
 /// </summary>
 public CRunning()
 {
     acceleration = new double();
     velocity     = new Current_Previous();
     gap          = new double();
     position     = new Current_Previous();
     around       = new CAround();
 }
コード例 #3
0
 /// <summary>
 /// 値コピーを作成する
 /// </summary>
 /// <param name="around">CAround</param>
 public CAround(CAround around)
 {
     front = around.front;
     rear  = around.rear;
 }