public static Scalar3D operator +(Scalar3D left, Scalar3D right) { var p = new Scalar3D(left.X, left.Y, left.Z); p.X += right.X; p.Y += right.Y; p.Z += right.Z; return(p); }
// ReSharper disable once MemberCanBePrivate.Global public bool Equals(Scalar3D scalar3D) { Scalar3D point = scalar3D; return(X.Equals(point.X) && Y.Equals(point.Y) && Z.Equals(point.Z)); }