AGK for Pascal
ContentsIndexHome
PreviousUpNext
TAgkPoint.Equals Method

Checks whether this point equals another point.

Syntax
Pascal
function Equals(const Other: TAgkPoint): Boolean;
Parameters 
Description 
const Other: TAgkPoint 
the other point. 

True if this point equals Other.

Since the coordinates are floating-point numbers, the comparison is performed with a little error margin (it uses Math.SameValue). The Equal (=) and NotEqual (<>) class operators perform a precise comparison.

Copyright (c) 2012. All rights reserved.