public override int GetHashCode() { int hash = 1; if (stopPoint_ != null) { hash ^= StopPoint.GetHashCode(); } if (CruiseSpeed != 0D) { hash ^= CruiseSpeed.GetHashCode(); } return(hash); }
public void MergeFrom(PlanningTarget other) { if (other == null) { return; } if (other.stopPoint_ != null) { if (stopPoint_ == null) { stopPoint_ = new global::Apollo.Planning.StopPoint(); } StopPoint.MergeFrom(other.StopPoint); } if (other.CruiseSpeed != 0D) { CruiseSpeed = other.CruiseSpeed; } }