PointEqual

int PointEqual (Point point1, Point point2);

Purpose

Indicates if two points are the same.

PointEqual returns 1 if the x and y values of two specific points are the same; it returns 0 otherwise.

Parameters

Input
Name Type Description
point1 Point Point structure.
point2 Point Point structure.

Return Value

Name Type Description
pointsAreEqual integer Indication that the two points are the same.

Code Description
1 x- and y-coordinates in the two Point structures are the same.
0 x- and y-coordinates in the two Point structures are not the same.