compare


Description:

public int compare (PathPoint point2)

Returns whether this is before or after point2.

Parameters:

this

a path point

point2

another path point

Returns:

-1 if this is before point2, 1 if this is after point2, 0 if they are equal