Point::Dot

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

Dot returns the dot product of two points using the equation:

   x * x2 + y * y2
Parameters
Parameters 
Description 
T x2 
The x value of the point passed into the parameter. 
T y2 
The y value of the point passed into the parameter. 
const Point<T> & pt 
The x coordinate value of pt will act as x2 and the y coordinate value of pt will act as y2. 
Return Value

A value containing the dot product.