AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkPoint.Equal Operator

Checks if two points are equal.

Syntax
Pascal
class operator Equal(const A: TAgkPoint; const B: TAgkPoint);
Parameters 
Description 
const A: TAgkPoint 
the first point to check. 
const B: TAgkPoint 
the second point to check. 

True if the points are equal. False otherwise.

Be careful when comparing floating point numbers! This function does an exact comparision, so the slightest variation returns False. See Equals for a more fuzzy check.

Copyright (c) 2012. All rights reserved.