RAD Studio VCL Reference
Classes.PointsEqual Function

Indicates whether two points have the same coordinates.

function PointsEqual(const P1: TPoint; const P2: TPoint): Boolean; overload;
function PointsEqual(const P1: TSmallPoint; const P2: TSmallPoint): Boolean; overload;
Boolean PointsEqual(const TPoint P1, const TPoint P2);
Boolean PointsEqual(const TSmallPoint P1, const TSmallPoint P2);

Call PointsEqual to compare two points. PointsEqual returns true if P1 has the same coordinates as P2, false if the two points differ. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!