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

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

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

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