/// <summary> /// updates the target data object to reflect newly received target position, velocity, acceleration, and the time increment this data was received. /// </summary> /// <param name="posX">New Position in x.</param> /// <param name="posY">New Position in y.</param> /// <param name="posZ">New Position in z.</param> /// <param name="velX">New Velocity in x.</param> /// <param name="velY">New Velocity in y.</param> /// <param name="velZ">New Velocity in z.</param> /// <param name="accX">New Acceleration in x.</param> /// <param name="accY">New Acceleration in y.</param> /// <param name="accZ">New Acceleration in z.</param> /// <param name="time">time increment this data was received.</param> public void NewTargetData(float posX, float posY, float posZ, float velX, float velY, float velZ, float accX, float accY, float accZ, float time) { data.SetPosition(posX, posY, posZ); data.SetVelocity(velX, velY, velZ); data.SetAcceleration(accX, accY, accZ); data.SetTime(time); InsertNewTargetData(data); }