public override int GetHashCode() { int hash = 1; if (header_ != null) { hash ^= Header.GetHashCode(); } if (MeasurementTime != 0D) { hash ^= MeasurementTime.GetHashCode(); } if (MeasurementSpan != 0F) { hash ^= MeasurementSpan.GetHashCode(); } if (linearAcceleration_ != null) { hash ^= LinearAcceleration.GetHashCode(); } if (angularVelocity_ != null) { hash ^= AngularVelocity.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (header_ != null) { hash ^= Header.GetHashCode(); } if (MeasurementTime != 0D) { hash ^= MeasurementTime.GetHashCode(); } if (Type != 0) { hash ^= Type.GetHashCode(); } if (position_ != null) { hash ^= Position.GetHashCode(); } if (eulerAngles_ != null) { hash ^= EulerAngles.GetHashCode(); } if (linearVelocity_ != null) { hash ^= LinearVelocity.GetHashCode(); } if (angularVelocity_ != null) { hash ^= AngularVelocity.GetHashCode(); } if (linearAcceleration_ != null) { hash ^= LinearAcceleration.GetHashCode(); } hash ^= positionCovariance_.GetHashCode(); hash ^= eulerAnglesCovariance_.GetHashCode(); hash ^= linearVelocityCovariance_.GetHashCode(); hash ^= angularVelocityCovariance_.GetHashCode(); hash ^= linearAccelerationCovariance_.GetHashCode(); return(hash); }
public override int GetHashCode() { int hash = 1; if (position_ != null) { hash ^= Position.GetHashCode(); } if (orientation_ != null) { hash ^= Orientation.GetHashCode(); } if (linearVelocity_ != null) { hash ^= LinearVelocity.GetHashCode(); } if (linearAcceleration_ != null) { hash ^= LinearAcceleration.GetHashCode(); } if (angularVelocity_ != null) { hash ^= AngularVelocity.GetHashCode(); } if (Heading != 0D) { hash ^= Heading.GetHashCode(); } if (linearAccelerationVrf_ != null) { hash ^= LinearAccelerationVrf.GetHashCode(); } if (angularVelocityVrf_ != null) { hash ^= AngularVelocityVrf.GetHashCode(); } if (eulerAngles_ != null) { hash ^= EulerAngles.GetHashCode(); } return(hash); }
public override int GetHashCode() { int hash = 1; if (X != 0D) { hash ^= X.GetHashCode(); } if (Y != 0D) { hash ^= Y.GetHashCode(); } if (Z != 0D) { hash ^= Z.GetHashCode(); } if (Timestamp != 0D) { hash ^= Timestamp.GetHashCode(); } if (Roll != 0D) { hash ^= Roll.GetHashCode(); } if (Pitch != 0D) { hash ^= Pitch.GetHashCode(); } if (Yaw != 0D) { hash ^= Yaw.GetHashCode(); } if (Heading != 0D) { hash ^= Heading.GetHashCode(); } if (Kappa != 0D) { hash ^= Kappa.GetHashCode(); } if (LinearVelocity != 0D) { hash ^= LinearVelocity.GetHashCode(); } if (AngularVelocity != 0D) { hash ^= AngularVelocity.GetHashCode(); } if (LinearAcceleration != 0D) { hash ^= LinearAcceleration.GetHashCode(); } if (Gear != 0) { hash ^= Gear.GetHashCode(); } if (DrivingMode != 0) { hash ^= DrivingMode.GetHashCode(); } if (pose_ != null) { hash ^= Pose.GetHashCode(); } return(hash); }