public Int16 y; // absolute y coord. #endregion Fields #region Methods //public void operator +(TPoint other) //{ // x += other.x; // y += other.y; //} //void operator /(int divisor, int a) //{ // x /= divisor; // y /= divisor; //} public void add(TPoint point) { this.x = (Int16)(this.x + point.x); this.y = (Int16)(this.y + point.y); }
//public void operator +(TPoint other) //{ // x += other.x; // y += other.y; //} //void operator /(int divisor, int a) //{ // x /= divisor; // y /= divisor; //} public void add(TPoint point) { this.x = (Int16)(this.x + point.x); this.y = (Int16)(this.y + point.y); }