Example #1
0
            public bool Equals(INPoint other)
            {
                if (!(other is TriPoint point))
                {
                    return(false);
                }

                return(X.Equals(point.X) &&
                       Y.Equals(point.Y) &&
                       Z.Equals(point.Z));
            }
Example #2
0
            public bool Equals(INPoint other)
            {
                if (!(other is QuadPoint point))
                {
                    return(false);
                }

                return(W.Equals(point.W) &&
                       X.Equals(point.X) &&
                       Y.Equals(point.Y) &&
                       Z.Equals(point.Z));
            }