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)