Point::/

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

The operator / function returns a new Point variable whose coordinates are calculated by dividing a set value (number or another Point) from the x and y coordinate values of a point parameter. This function is constant and does not modify either of the passed parameters. 

The following expression is used to determine the result:

Point(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 fixed value that divides both the x and y coordinate values of the previous point. 
Return Value

A new Point value whose coordinates result from dividing a fixed value (number or another Point) from a passed point value.