Point::==

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

Determines the equality of two points by comparing their x and y coordinate values. This function is constant and does not modify either of the passed parameters. 

The following expression is used to determine the result:

   (pt1.x == pt2.x) && (pt1.y == pt2.y)
Parameters
Parameters 
Description 
const Point<T> & pt 
Point which is used for comparison. 
Return Value

A Boolean value of true if the points are equal, otherwise false.