コード例 #1
0
        public override int GetHashCode()
        {
            int hash = 1;

            if (pathTimePoint_ != null)
            {
                hash ^= PathTimePoint.GetHashCode();
            }
            if (RefV != 0D)
            {
                hash ^= RefV.GetHashCode();
            }
            return(hash);
        }
コード例 #2
0
 public void MergeFrom(SamplePoint other)
 {
     if (other == null)
     {
         return;
     }
     if (other.pathTimePoint_ != null)
     {
         if (pathTimePoint_ == null)
         {
             pathTimePoint_ = new global::Apollo.Planning.PathTimePoint();
         }
         PathTimePoint.MergeFrom(other.PathTimePoint);
     }
     if (other.RefV != 0D)
     {
         RefV = other.RefV;
     }
 }