RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Classes.PointsEqual Function

Indicates whether two points have the same coordinates.

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

Classes

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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!