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); }