Beispiel #1
0
        public Point2i(IPoint2 p)
        {
            ITuple2_Integer _p = p.AsTupleInteger();

            this.X = _p.X;
            this.Y = _p.Y;
        }
Beispiel #2
0
        public bool Equals(IPoint2 other)
        {
            ITuple2_Integer _other = other.AsTupleInteger();

            return(this.Equals(_other.X, _other.Y));
        }
Beispiel #3
0
        bool IEpsilonEquatable <IPoint2> .EpsilonEquals(IPoint2 other, double epsilon)
        {
            ITuple2_Integer _other = other.AsTupleInteger();

            return(this.Equals(_other.X, _other.Y));
        }