Point::=

Point::=
inline const Point<T>& operator =(const Point<T> & pt);
inline const Point<T>& operator =(T val);
inline const Point<T>& operator =(BoundsType bt);
Description

The operator = function assigns a fixed value (number or another Point) to the x and y coordinate values of the current point. 

The following expression is used to determine the result:

   (pt1.x, pt1.y) = Point([val, pt2.x], [val, pt2.y])
Parameters
Parameters 
Description 
const Point<T> & pt 
The x and y coordinate values of the Point variable are set to the x and y variables of current point respectively. 
T val 
A fixed value that both the x and y coordinates of the current point are set to. 
BoundsType bt 
An enum value that initializes the point to either the Min or Max point value. If the value passed is Min, the point is set to (0,0). 
Return Value

A Point reference to the variable whose coordinates are set by a fixed value (number or another Point).