Point::Mul

Point::Mul
inline Point<T>& Mul(const Point<T> & pt);
inline Point<T>& Mul(T val);
inline Point<T>& Mul(T x2, T y2);
Description

Mul multiplies the current point with the passed value or point. The following expression is used to determine the result:

   (pt1.x, pt1.y) = (pt1.x * [val, pt2.x, x2], pt1.y * [val, pt2.y, y2])

A call to the Mul function is equivalent to calling the *= operator.

Parameters
Parameters 
Description 
const Point<T> & pt 
A point whose x and y coordinates is used for multiplication with the current point's coordinates. 
T val 
A fixed value multiplied by the current point's x and y coordinate values. 
T x2 
Variable whose value is multiplied with the x coordinate of the current point. 
T y2 
Variable whose value is multiplied with the y coordinate of the current point.