Lines Matching refs:_point
72 struct _point struct
76 _point ( ) { x = y = 0; } in _point() function
77 _point ( Type u, Type v = 0 ) { x = u, y = v; }
78 _point ( const _point & pt ) { x = pt.x; y = pt.y; } in _point() argument
79 _point & operator= ( const _point & pt )
90 friend int operator== ( const _point & pt1, const _point & pt2 )
96 friend _point operator- ( const _point & pt1, const _point & pt2 )
98 return ( _point ( pt1.x - pt2.x, pt1.y - pt2.y ) );
102 friend _point operator+ ( const _point & pt1, const _point & pt2 )
104 return ( _point ( pt1.x + pt2.x, pt1.y + pt2.y ) );
108 typedef _point <double> _pointD;
109 typedef _point <long> _pointL;
163 typedef _rect <_point <long> > _rectPL;