public override void Serialize(MemoryStream stream)
 {
     header.Serialize(stream);
     magnetic_field.Serialize(stream);
     foreach (double element in magnetic_field_covariance)
     {
         System.Byte[] element_bytes = BitConverter.GetBytes(element);
         stream.Write(element_bytes, 0, element_bytes.Length);
     }
 }
예제 #2
0
 public override void Serialize(MemoryStream stream)
 {
     header.Serialize(stream);
     orientation.Serialize(stream);
     foreach (double element in orientation_covariance)
     {
         System.Byte[] element_bytes = BitConverter.GetBytes(element);
         stream.Write(element_bytes, 0, element_bytes.Length);
     }
     angular_velocity.Serialize(stream);
     foreach (double element in angular_velocity_covariance)
     {
         System.Byte[] element_bytes = BitConverter.GetBytes(element);
         stream.Write(element_bytes, 0, element_bytes.Length);
     }
     linear_acceleration.Serialize(stream);
     foreach (double element in linear_acceleration_covariance)
     {
         System.Byte[] element_bytes = BitConverter.GetBytes(element);
         stream.Write(element_bytes, 0, element_bytes.Length);
     }
 }
예제 #3
0
 public override void Serialize(MemoryStream stream)
 {
     translation.Serialize(stream);
     rotation.Serialize(stream);
 }
예제 #4
0
 public override void Serialize(MemoryStream stream)
 {
     force.Serialize(stream);
     torque.Serialize(stream);
 }
 public override void Serialize(MemoryStream stream)
 {
     header.Serialize(stream);
     vector.Serialize(stream);
 }
예제 #6
0
 public override void Serialize(MemoryStream stream)
 {
     linear.Serialize(stream);
     angular.Serialize(stream);
 }