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 value determined by multiplying a fixed value (number or another Point) with the x and y coordinate values of the first 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 whose x and y coordinate values will both be multiplied with a fixed value (number or another Point). 
T val 
A fixed value which is multiplied by both the x and y coordinate values of a point. 
Return Value

A new Point value whose coordinates result from the multiplication of an existing point and a fixed value (number or another Point).