Beispiel #1
0
 public override string ToString()
 {
     return(string.Format("G:({0}, {1}, {2}) M:({3}, {4}, {5})",
                          Gx.ToString(Format),
                          Gy.ToString(Format),
                          Gz.ToString(Format),
                          Mx.ToString(Format),
                          My.ToString(Format),
                          Mz.ToString(Format)));
 }
Beispiel #2
0
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                if (Gz != null)
                {
                    Gz.Dispose();
                    Gz = null;
                }

                if (Kz != null)
                {
                    Kz.Dispose();
                    Kz = null;
                }
            }

            base.Dispose(disposing);
        }
Beispiel #3
0
 public override int GetHashCode()
 {
     return(Gx.GetHashCode() ^ Gy.GetHashCode() ^ Gz.GetHashCode() ^
            Mx.GetHashCode() ^ My.GetHashCode() ^ Mz.GetHashCode());
 }