Point::Swap

Point::Swap
inline void Swap(Point<T> * ppt);
Description

Swap swaps the x and y components with the coordinates of the passed Point parameter. This function essentially executes the following code:

   swap(x, ppt->x)
   swap(y, ppt->y)
Parameters
Parameters 
Description 
Point<T> * ppt 
A pointer to the point whose x and y coordinate values will be switched.