Point::/=

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

The operator /= function divides the x and y coordinate values of a point with a fixed value (number or another Point). 

The following expression is used to determine the result:

   (pt1.x, pt1.y) = (pt1.x / [val, pt2.x], pt1.y / [val, pt2.y])
Parameters
Parameters 
Description 
const Point<T> & pt 
A point parameter whose x and y coordinate values divide the x and y coordinate values of the current point respectively. 
T val 
A parameter that divides the x and y coordinate values of the current point. 
Return Value

A Point reference to the current string variable whose coordinates result from the division of a fixed value (number or another Point) from the original coordinates.